]> git.codecow.com Git - Monocypher.git/commitdiff
Typo: 2^255 - 23 => 2^255 - 21
authorLoup Vaillant <loup@loup-vaillant.fr>
Tue, 19 Nov 2019 07:33:03 +0000 (08:33 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Tue, 19 Nov 2019 07:33:03 +0000 (08:33 +0100)
The previous commit message has the same mistake. Sorry.

src/monocypher.c

index 95e10959e07c72b5fd3edf2fa6b908e3124e685a..d9b6cfba5bf7ad762d41c524fd187ce0d2fbec03 100644 (file)
@@ -1202,7 +1202,7 @@ static void fe_pow22523(fe out, const fe z)
     WIPE_BUFFER(t2);
 }
 
-// Inverting means multiplying by 2^255 - 23
+// Inverting means multiplying by 2^255 - 21
 // 2^255 - 21 = (2^252 - 3) * 8 + 3
 // So we reuse the multiplication chain of fe_pow22523
 static void fe_invert(fe out, const fe z)