[noise] Negotiating transport message size (was: Re: NoiseSocket revision 1)
igor.solovyov at gmail.com
Sat Aug 5 11:53:43 PDT 2017
On Sat, Aug 5, 2017 at 10:31 AM, Trevor Perrin <trevp at trevp.net> wrote:
> Decryption requires the recipient to buffer an entire message, since
> the recipient has to verify the authentication tag before actually
> decrypting the ciphertext.
> So there needs to be some concrete limit for messages so they fit the
> recipient's buffer.
Got you.Yes, if you want to preallocate the buffer once for all following
messages, to know maximum message size in advance is useful.
So, let it be negotiated :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Noise