Skip to content

Commit 18f6809

Browse files
committed
Correct max message size for default CCM nonce
1 parent 41e00e1 commit 18f6809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/src/cipher/modern.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ In the following definition, ``<algorithm>`` can only be ``AES`` today:
125125
The longer the nonce, the smaller the allowed message size
126126
(with a nonce of 13 bytes, the message cannot exceed 64KB).
127127
If not present, the library creates a 11 bytes random nonce (the maximum
128-
message size is 8GB).
128+
message size is 4GB).
129129
:param integer mac_len: the desired length of the
130130
MAC tag (default if not present: 16 bytes).
131131
:param integer msg_len: pre-declaration of the length of the

0 commit comments

Comments
 (0)