lnd.xprv/brontide
Olaoluwa Osuntokun ae84b6197b
brontide: implement cipher stream key rotation
This commit implements key rotation for brontide as-per the current
draft of the LN p2p crypto spec. Key rotation is currently performed
every 1000 messages encrypted/decrypted with a cipherState object. Key
rotation is performed by evaluating the HKDF (extracting exactly 64
bytes) with the current chaining key, and cipher key. The key rotation
is to attempted after each nonce increment making implementation easy
as the current nonce value will already be within the local scope.
2016-11-10 17:29:13 -08:00
..
conn.go brontide: implement message chunking for the net.Conn implementation 2016-11-07 19:45:06 -08:00
listener.go brontide: an authenticated key agreement protocol in three acts 2016-10-17 19:41:29 -07:00
noise_test.go brontide: implement message chunking for the net.Conn implementation 2016-11-07 19:45:06 -08:00
noise.go brontide: implement cipher stream key rotation 2016-11-10 17:29:13 -08:00