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

Trevor Perrin trevp at trevp.net
Sat Aug 5 00:31:06 PDT 2017


On Fri, Aug 4, 2017 at 6:10 PM, Igor Solovyov <igor.solovyov at gmail.com> wrote:
>
> What if we use simpler approach: do negotiation of either 16-bit or 32-bit
> length for both directions, but not some concrete value?

Hi Igor,

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.

Trevor


More information about the Noise mailing list