Repository navigation
Commit 7d39fd6
committed
p2p: make encryption handshake code easier to follow
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.1 parent 2c505ef commit 7d39fd6
2 files changed
Lines changed: 272 additions & 302 deletions
0 commit comments