]> git.codecow.com Git - Monocypher.git/commitdiff
comment nitpick
authorLoup Vaillant <loup@loup-vaillant.fr>
Thu, 9 Apr 2020 21:16:10 +0000 (23:16 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sat, 11 Apr 2020 10:15:51 +0000 (12:15 +0200)
src/monocypher.c

index 4ab4b0102bb2e9d5c30e68b85ce0d68500a1246d..7ecb60a794445ada9d2a8d58cf1b0a36eb186885 100644 (file)
@@ -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.