mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-24 06:47:44 +01:00
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.go | ||
noise_test.go |