From 4b4259be8df26637e8ad78d0676526d0b44a5a80 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Tue, 19 Nov 2019 08:33:03 +0100 Subject: [PATCH] Typo: 2^255 - 23 => 2^255 - 21 The previous commit message has the same mistake. Sorry. --- src/monocypher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3