]> git.codecow.com Git - Monocypher.git/commitdiff
Missing variable time comment
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 29 Sep 2019 18:23:24 +0000 (20:23 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 29 Sep 2019 18:23:24 +0000 (20:23 +0200)
src/monocypher.c

index 20b4ff4d8c8d7828f0f96bfc13a0ff28f97ec102..cd213d2a201a50a312b7435cdf45e2a77dcfefd6 100644 (file)
@@ -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--) {