From 16cffa77e4d94902fe2db7f2afc7d214dd86832f Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Sun, 29 Sep 2019 20:23:24 +0200 Subject: [PATCH] Missing variable time comment --- src/monocypher.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/monocypher.c b/src/monocypher.c index 20b4ff4..cd213d2 100644 --- a/src/monocypher.c +++ b/src/monocypher.c @@ -1420,6 +1420,7 @@ static void mul_add(u8 r[32], const u8 a[32], const u8 b[32], const u8 c[32]) WIPE_BUFFER(s); } +// Variable time! a must not be secret! static int is_above_L(const u8 a[32]) { for (int i = 31; i >= 0; i--) { -- 2.47.3