From: Loup Vaillant Date: Sat, 11 Nov 2017 17:59:58 +0000 (+0100) Subject: Manual review: applying CuleX's advice X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=56c38e7784bc432ca66617068159c434000a72b1;p=Monocypher.git Manual review: applying CuleX's advice --- diff --git a/doc/man/man3/crypto_key_exchange.3monocypher b/doc/man/man3/crypto_key_exchange.3monocypher index c56bfc4..57208f3 100644 --- a/doc/man/man3/crypto_key_exchange.3monocypher +++ b/doc/man/man3/crypto_key_exchange.3monocypher @@ -50,9 +50,9 @@ and .Sy Warning: the shared secret is not cryptographically random . Do not use it directly as a session key. Hash it first with -.Xr crypto_chacha20_H +.Xr crypto_chacha20_H 3monocypher or -.Xr crypto_blake2b . +.Xr crypto_blake2b 3monocypher . .Sh RETURN VALUES .Fn crypto_key_exchange and diff --git a/doc/man/man3/crypto_lock.3monocypher b/doc/man/man3/crypto_lock.3monocypher index ba84851..9034e6a 100644 --- a/doc/man/man3/crypto_lock.3monocypher +++ b/doc/man/man3/crypto_lock.3monocypher @@ -135,7 +135,9 @@ The arguments are: .It Fa ad Additional data to authenticate. It will not be encrypted. -May be NULL if +May be +.Dv NULL +if .Fa ad_size is zero. Setting