From: Loup Vaillant Date: Tue, 19 Nov 2019 07:33:03 +0000 (+0100) Subject: Typo: 2^255 - 23 => 2^255 - 21 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=4b4259be8df26637e8ad78d0676526d0b44a5a80;p=Monocypher.git Typo: 2^255 - 23 => 2^255 - 21 The previous commit message has the same mistake. Sorry. --- diff --git a/src/monocypher.c b/src/monocypher.c index 95e1095..d9b6cfb 100644 --- a/src/monocypher.c +++ b/src/monocypher.c @@ -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)