aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/handshake_test.go
Commit message (Collapse)AuthorAgeFilesLines
* p2p: make encryption handshake code easier to followFelix Lange2015-03-041-60/+65
| | | | | | | | | This mostly changes how information is passed around. Instead of using many function parameters and return values, put the entire state in a struct and pass that. This also adds back derivation of ecdhe-shared-secret. I deleted it by accident in a previous refactoring.
* p2p: encrypted and authenticated RLPx frame I/OFelix Lange2015-03-041-79/+21
|
* p2p: disable encryption handshakeFelix Lange2015-02-191-0/+224
The diff is a bit bigger than expected because the protocol handshake logic has moved out of Peer. This is necessary because the protocol handshake will have custom framing in the final protocol.