]> git.codecow.com Git - Monocypher.git/commitdiff
Document maximum AEAD message size main master
authorLoup Vaillant <loup@loup-vaillant.fr>
Fri, 1 Nov 2024 09:17:00 +0000 (10:17 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Fri, 1 Nov 2024 09:17:00 +0000 (10:17 +0100)
Fixes #279

doc/crypto_aead_lock.3monocypher

index 348c3bf1b7fc2b5188d1eb3b2ab83c0213e4481b..e61fb2cdbd3aa4bb4de2965b518f79a7d90aa95b 100644 (file)
@@ -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