]> git.codecow.com Git - Monocypher.git/commitdiff
Manual: Applying CuleX's advice
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 24 Dec 2017 09:43:14 +0000 (10:43 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 24 Dec 2017 09:43:14 +0000 (10:43 +0100)
doc/man/man3/crypto_chacha20_encrypt.3monocypher
doc/man/man3/crypto_key_exchange.3monocypher
doc/man/man3/crypto_sign.3monocypher
doc/man/man3/crypto_x25519.3monocypher

index d8c2b67a299491b549f0f0f4a985adefd2a421d4..c48852c4a10a812f0039e38b080ce1f81269af33 100644 (file)
@@ -73,7 +73,7 @@ It is allowed to be
 in which case it will be interpreted as an all zero input.
 The cipher_text will then contain the raw Chacha20 stream.
 .It Fa cipher_text
-The encrypted message, to be transmitted over the network.
+The encrypted message.
 .It Fa text_size
 The size of both
 .Fa plain_text and
index 18be412aa441f2858c1abae1af01467ddd9160ea..cff24590489383c8dee1b38df17eabd71e813c43 100644 (file)
@@ -20,7 +20,7 @@
 .Fc
 .Sh DESCRIPTION
 .Fn crypto_key_exchange
-computes a shared key with your secret key and their public key,
+computes a shared key with your secret key and their public key.
 .Pp
 .Fn crypto_x25519_public_key
 deterministically computes the public key from a random secret key.
@@ -42,10 +42,9 @@ random number generator).
 Do not use the same private key for both key exchanges and signatures.
 The public keys are different, and revealing both may leak information.
 .It Fa their_public_key
-The public key of the other party, generated from their secret key with
-.Fn crypto_x25519_public_key .
+The public key of the other party.
 .It Fa public_key
-The public key, generated from a
+The public key, generated from the
 .Fa secret_key
 with
 .Fn crypto_x25519_public_key .
index 7591a4ad5d9a5ac29b076909846d30fc00da7a55..5f6ab17bf386601b9237c750716fbd1c5b194a54 100644 (file)
@@ -45,7 +45,7 @@ number generator).
 Do not use the same private key for both signatures and key exchanges.
 The public keys are different, and revealing both may leak information.
 .It Fa public_key
-The public key, generated from a
+The public key, generated from the
 .Fa secret_key
 with
 .Fn crypto_sign_public_key .
index 0500c15090340d32f99c879986e6b38850ad90cf..33e066d2a99591cea9ed6332e253298e3a084da5 100644 (file)
@@ -42,8 +42,7 @@ See
 for advice about generating random bytes (use the operating system's
 random number generator).
 .It Fa their_public_key
-The public key of the other party, generated from their secret key with
-.Xr crypto_x25519_public_key 3monocypher .
+The public key of the other party.
 .El
 .Sh RETURN VALUES
 Some public keys force the shared key to a known constant.