]> git.codecow.com Git - Monocypher.git/commitdiff
tw=72
authorMichael Savage <mikejsavage@gmail.com>
Tue, 21 Nov 2017 20:57:30 +0000 (22:57 +0200)
committerMichael Savage <mikejsavage@gmail.com>
Tue, 21 Nov 2017 20:57:30 +0000 (22:57 +0200)
doc/man/man3/crypto_lock.3monocypher

index 452143a9c9876954b650fe944bdd0a8ae8f38618..db6336822a54afc8d195963964a079f73ea83754 100644 (file)
@@ -149,13 +149,14 @@ and
 .It Fa ad_size
 length of the additional data.
 .Sy That length is not authenticated.
-If the additional data is of variable length, the length should be appended to
+If the additional data is of variable length, the length should be
+appended to
 .Fa ad
 so it gets authenticated, and should be extracted from the end of the
 message when decrypting.
 Otherwise an attacker could provide a false length, effectively moving
-the boundary between the additional data and the ciphertext.
-This may cause buffer overflows in some programs.
+the boundary between the additional data and the ciphertext. This may
+cause buffer overflows in some programs.
 .El
 .Pp
 An incremental interface is available; see