lnd.xprv/brontide
Olaoluwa Osuntokun bc885f5f27
brontide: modify key rotation to match test vectors in spec
This commit modifies our key rotation slightly to match the test
vectors within the BOLT08 specifications. Before this commit, we were
rotating one message before the rest of the implementers. This
implementation divergence was possibly due to the section of the spec
describing the rotations being a bit ambiguous.

A future PR to the lightning-rfc repo will make the spec more explicit
to avoid situations like this in the future.
2017-01-09 19:12:48 -08:00
..
conn.go brontide: exclude MAC length from cipher text packet length prefix 2017-01-07 21:21:52 -08:00
listener.go brontide: implement handshake versioning enforcement per the spec 2016-11-30 19:11:58 -08:00
noise_test.go brontide: exclude MAC length from cipher text packet length prefix 2017-01-07 21:21:52 -08:00
noise.go brontide: modify key rotation to match test vectors in spec 2017-01-09 19:12:48 -08:00