From bf092f17cd88ccdba00fa5c92a1565789be376cb Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Fri, 1 Nov 2024 10:17:00 +0100 Subject: [PATCH] Document maximum AEAD message size Fixes #279 --- doc/crypto_aead_lock.3monocypher | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/crypto_aead_lock.3monocypher b/doc/crypto_aead_lock.3monocypher index 348c3bf1..e61fb2cd 100644 --- a/doc/crypto_aead_lock.3monocypher +++ b/doc/crypto_aead_lock.3monocypher @@ -206,6 +206,11 @@ Length of both .Fa plain_text and .Fa cipher_text , in bytes. +Virtually unlimited, +except when +.Fn crypto_aead_init_ietf +is used, +in which case it must never exceed 2^38 - 64. .El .Pp The