]> git.codecow.com Git - Monocypher.git/commitdiff
Comment: no need to wipe if it is not secret
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 22 Apr 2018 22:19:42 +0000 (00:19 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 22 Apr 2018 22:24:57 +0000 (00:24 +0200)
src/monocypher.c

index 4df2abbbf1e24a7d6c5ab4e09873eb25ec454ec3..2a160083b4ec43f5828519a07b54b7f3e0010f97 100644 (file)
@@ -1381,7 +1381,7 @@ static int ge_frombytes_neg(ge *h, const u8 s[32])
         -32595792, -7943725, 9377950, 3500415, 12389472,
         -272473, -25146209, -2005654, 326686, 11406482
     } ;
-    fe u, v, v3, vxx, check;
+    fe u, v, v3, vxx, check; // no secret, no wipe
     fe_frombytes(h->Y, s);
     fe_1(h->Z);
     fe_sq(u, h->Y);            // y^2