From: Loup Vaillant Date: Sun, 29 Sep 2019 18:23:24 +0000 (+0200) Subject: Missing variable time comment X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=16cffa77e4d94902fe2db7f2afc7d214dd86832f;p=Monocypher.git Missing variable time comment --- 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--) {