lnd.xprv/brontide
Olaoluwa Osuntokun 49f9f496fb
brontide: modify the max payload length to be 65535 bytes total
This commit modifies the current implementation of the p2p crypto
protocol to further constrain the max allowed payload size. With this
change we now use 16-bits (2-bytes) for the maximum payload length.
This change puts us closer to strict adherence of the Noise spec, and
simplifies the memory management w.r.t implementing the current version
of our scheme.

Note that this doesn’t restrict the size of messages that are able to
be sent over the wire within the LN p2p protocol. Larger message can
safely be encapsulated within the crypt messages via fragmentation that
will detected take place if a larger message is detected.
2016-11-07 18:50:26 -08:00
..
conn.go brontide: modify the Dial function to take a *lnwire.NetAddress 2016-10-26 19:04:27 -07:00
listener.go brontide: an authenticated key agreement protocol in three acts 2016-10-17 19:41:29 -07:00
noise_test.go brontide: modify the max payload length to be 65535 bytes total 2016-11-07 18:50:26 -08:00
noise.go brontide: modify the max payload length to be 65535 bytes total 2016-11-07 18:50:26 -08:00