]> git.codecow.com Git - Monocypher.git/commitdiff
Manual: applying CuleX's corrections
authorLoup Vaillant <loup@loup-vaillant.fr>
Fri, 15 Dec 2017 09:56:05 +0000 (10:56 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Fri, 15 Dec 2017 09:56:05 +0000 (10:56 +0100)
doc/man/man3/crypto_lock_init.3monocypher
doc/man/man3/crypto_x25519.3monocypher

index 8f3eb1624035f11f9c6bf8eb2db2523956cd2b52..5e74aafe63556baddc4547a5a3d3ce26f82c0dda 100644 (file)
@@ -246,7 +246,7 @@ Messages may be stored before they are verified, but they cannot be
 Processing untrusted messages increases the attack surface of the
 system.
 Doing so securely is hard.
-Don't process messages before calling
+Do not process messages before calling
 .Fn crypto_unlock_final .
 .Sh IMPLEMENTATION DETAILS
 The incremental interface is roughly three times slower than the direct
index d05ee8f4d666443b564cbe53727d74e2fa81ac9e..ef9f9d6b3f2398ecb78043a4f5aba11407ae6c1e 100644 (file)
@@ -56,7 +56,7 @@ uint8_t shared_keys[64];           /* Two shared session keys  */
 uint8_t *key_1 = shared_keys;      /* Shared key 1             */
 uint8_t *key_2 = shared_keys + 32; /* Shared key 2             */
 crypto_blake2b(shared_keys, shared_secret, 32);
-/* Wipe the secret /
+/* Wipe the secret */
 crypto_wipe(shared_secret, 32);
 .Ed
 .Sh SEE ALSO