From 2847160754598d74d6a24275c312efa865f26ccb Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Thu, 9 Apr 2020 23:16:10 +0200 Subject: [PATCH] comment nitpick --- src/monocypher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monocypher.c b/src/monocypher.c index 4ab4b01..7ecb60a 100644 --- a/src/monocypher.c +++ b/src/monocypher.c @@ -2734,7 +2734,7 @@ void crypto_x25519_inverse(u8 blind_salt [32], const u8 private_key[32], store32_le_buf(scalar, m_inv, 8); // the *inverse* of the scalar // Clear the cofactor of scalar: - // cleared = scalar * (3*L + 1) (modulo 8*L) + // cleared = scalar * (3*L + 1) (modulo 8*L) // cleared = scalar + scalar * 3 * L (modulo 8*L) // Note that (scalar * 3) is reduced modulo 8, so we only need the // first byte. -- 2.47.3