• Felix Lange's avatar
    p2p: make encryption handshake code easier to follow · 7d39fd66
    Felix Lange authored
    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.
    7d39fd66
Name
Last commit
Last update
Godeps Loading commit data...
_data Loading commit data...
accounts Loading commit data...
blockpool Loading commit data...
cmd Loading commit data...
compression/rle Loading commit data...
core Loading commit data...
crypto Loading commit data...
errs Loading commit data...
eth Loading commit data...
ethdb Loading commit data...
ethutil Loading commit data...
event Loading commit data...
javascript Loading commit data...
logger Loading commit data...
miner Loading commit data...
p2p Loading commit data...
pow Loading commit data...
rlp Loading commit data...
rpc Loading commit data...
state Loading commit data...
tests Loading commit data...
trie Loading commit data...
ui Loading commit data...
vm Loading commit data...
whisper Loading commit data...
xeth Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
gocoverage.sh Loading commit data...
update-license.go Loading commit data...