From 9ef6147a8895125fefedaabcff806694882fd619 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Tue, 24 Mar 2020 19:06:31 +0100 Subject: [PATCH] Typos --- src/monocypher.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/monocypher.c b/src/monocypher.c index 0d656b5..81a4a4f 100644 --- a/src/monocypher.c +++ b/src/monocypher.c @@ -2417,7 +2417,7 @@ static const fe A = {486662}; // Elligator direct map // // Computes the point corresponding to a representative, encoded in 32 -// bytes (little Endian). Since positive representatves fits in 254 +// bytes (little Endian). Since positive representatives fits in 254 // bits, The two most significant bits are ignored. // // From the paper: @@ -2619,9 +2619,9 @@ void crypto_key_exchange(u8 shared_key[32], crypto_hchacha20(shared_key, shared_key, zero); } -////////////////////// -/// Scalar divison /// -////////////////////// +/////////////////////// +/// Scalar division /// +/////////////////////// void crypto_x25519_inverse(u8 blind_salt [32], const u8 private_key[32], const u8 curve_point[32]) -- 2.47.3