]> git.codecow.com Git - Monocypher.git/commitdiff
Manual review: applying CuleX's advice
authorLoup Vaillant <loup@loup-vaillant.fr>
Sat, 11 Nov 2017 17:59:58 +0000 (18:59 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sat, 11 Nov 2017 17:59:58 +0000 (18:59 +0100)
doc/man/man3/crypto_key_exchange.3monocypher
doc/man/man3/crypto_lock.3monocypher

index c56bfc449a946129bb9b74d97a287bd831dd9404..57208f32e42bf1872191eac9c25468fe66ca9b7c 100644 (file)
@@ -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
index ba84851cace5e40ea56145ac7952cc9f439e01c5..9034e6aedc32e8adf89593a72310ebd945833b17 100644 (file)
@@ -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