From 8951ade1b3fb798d2f9f741fa5af00844acfbad0 Mon Sep 17 00:00:00 2001 From: CuleX Date: Sat, 23 Sep 2017 12:37:50 +0200 Subject: [PATCH] Add overlapping argument info to the man pages --- doc/man/man3/crypto_blake2b.3monocypher | 3 +++ doc/man/man3/crypto_poly1305_auth.3monocypher | 5 +++++ doc/man/man3/crypto_sign.3monocypher | 6 ++++++ 3 files changed, 14 insertions(+) diff --git a/doc/man/man3/crypto_blake2b.3monocypher b/doc/man/man3/crypto_blake2b.3monocypher index 3adf095..8954294 100644 --- a/doc/man/man3/crypto_blake2b.3monocypher +++ b/doc/man/man3/crypto_blake2b.3monocypher @@ -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 diff --git a/doc/man/man3/crypto_poly1305_auth.3monocypher b/doc/man/man3/crypto_poly1305_auth.3monocypher index 961b1f7..c086faf 100644 --- a/doc/man/man3/crypto_poly1305_auth.3monocypher +++ b/doc/man/man3/crypto_poly1305_auth.3monocypher @@ -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 , diff --git a/doc/man/man3/crypto_sign.3monocypher b/doc/man/man3/crypto_sign.3monocypher index 3eb47b4..a58a768 100644 --- a/doc/man/man3/crypto_sign.3monocypher +++ b/doc/man/man3/crypto_sign.3monocypher @@ -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 -- 2.47.3