ValarDragon
7bf28af590
This now uses one hkdf on the X25519 shared secret to create a key for the sender and receiver. The hkdf call is now just called upon the computed shared secret, since the shared secret is a function of the pubkeys. The nonces now start at 0, as we are using chacha as a stream cipher, and the sender and receiver now have different keys. |
7 years ago | |
---|---|---|
.. | ||
conn_go110.go | p2p: tmconn->conn and types->p2p | 7 years ago |
conn_notgo110.go | p2p: tmconn->conn and types->p2p | 7 years ago |
connection.go | fix import paths | 7 years ago |
connection_test.go | fix import paths | 7 years ago |
secret_connection.go | p2p/secret_connection: Switch salsa usage to hkdf + chacha | 7 years ago |
secret_connection_test.go | crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey | 7 years ago |
wire.go | crypto: Refactor to move files out of the top level directory | 7 years ago |