From 4b44d778e01a0e2717be642ff2719cb4884bb888 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Mon, 6 Nov 2017 20:37:34 +0100 Subject: [PATCH] Forgot to wipe a temporary buffer --- src/monocypher.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/monocypher.c b/src/monocypher.c index e0389d0..5b263dd 100644 --- a/src/monocypher.c +++ b/src/monocypher.c @@ -1475,6 +1475,7 @@ static void modL(u8 *r, i64 x[64]) x[i+1] += x[i] >> 8; r[i ] = x[i] & 255; } + crypto_wipe(x, 64 * 8); } static void reduce(u8 r[64]) -- 2.47.3