Felix Lange 7d39fd6678 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.
2015-03-04 12:27:24 +01:00
..
2015-03-04 12:27:24 +01:00
2015-03-04 12:27:24 +01:00
2015-03-04 12:27:24 +01:00
2015-03-04 12:27:23 +01:00
2015-02-13 23:54:34 +01:00
2015-03-04 12:27:23 +01:00
2015-02-06 00:00:36 +01:00