75ea05aef6
This commit modifies the current implementation to more closely match what’s currently specified within the spec. The encrypted+MAC’d packet length is no longer included as the associated data for the encryption/decryption of transport messages. This isn’t required as if an active attacker swaps out the encrypted length in the byte string, the decryption+MAC check will simply fail as the nonce won’t be in proper sequence. |
||
---|---|---|
.. | ||
conn.go | ||
listener.go | ||
noise_test.go | ||
noise.go |