From 56c38e7784bc432ca66617068159c434000a72b1 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Sat, 11 Nov 2017 18:59:58 +0100 Subject: [PATCH] Manual review: applying CuleX's advice --- doc/man/man3/crypto_key_exchange.3monocypher | 4 ++-- doc/man/man3/crypto_lock.3monocypher | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) 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 -- 2.47.3