]> git.codecow.com Git - Monocypher.git/commitdiff
Add overlapping argument info to the man pages
authorCuleX <cculex@gmail.com>
Sat, 23 Sep 2017 10:37:50 +0000 (12:37 +0200)
committerCuleX <cculex@gmail.com>
Sat, 23 Sep 2017 10:37:50 +0000 (12:37 +0200)
doc/man/man3/crypto_blake2b.3monocypher
doc/man/man3/crypto_poly1305_auth.3monocypher
doc/man/man3/crypto_sign.3monocypher

index 3adf095b3e9de79eb133b79d5abde2194f9f79dd..8954294b7f5c7ca6661d8aad5dad053ad4869ffb 100644 (file)
@@ -80,6 +80,9 @@ length of the
 Must be between 0 and 64.
 .It Fa message
 the message to hash.
+It may overlap with the
+.Fa hash
+argument where present.
 .It Fa message_size
 the length of the message.
 .El
index 961b1f7444079801d677728f29859130a778d0d5..c086fafe36404291ada0e906c3fce5012ce41d81 100644 (file)
@@ -92,6 +92,11 @@ The direct interface consists of the
 .Fn crypto_poly1305_auth
 function produces a message authentication code for the given
 message and authentication key.
+The
+.Fa mac
+and the
+.Fa message
+arguments may overlap.
 .Pp
 The indirect interface consists of the
 .Fn crypto_poly1305_init ,
index 3eb47b4ffef5c325b9397c71b44876757299e94d..a58a7682ad46b21bf3ac3be3af5e29b4568be721 100644 (file)
@@ -82,6 +82,12 @@ to use the
 .Xr crypto_key_exchange 3monocypher
 function instead.
 .Pp
+The
+.Fa signature
+and the
+.Fa message
+arguments may overlap.
+.Pp
 An incremental interface is not available.
 If you require an incremental interface, signing a hash of your data
 is an acceptable substitute; see