[noise] Negotiating transport message size (was: Re: NoiseSocket revision 1)

Igor Solovyov igor.solovyov at gmail.com
Sat Aug 5 11:53:43 PDT 2017

Hi Trevor,

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...
URL: <http://moderncrypto.org/mail-archive/noise/attachments/20170805/95a8b832/attachment.html>

More information about the Noise mailing list