From 8f2263b620a775dfce19a58af2cf010b1feb9ca5 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Tue, 10 Mar 2020 00:05:53 +0100 Subject: [PATCH] Forgot to wipe a buffer --- src/monocypher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monocypher.c b/src/monocypher.c index 8fe197a..0c51804 100644 --- a/src/monocypher.c +++ b/src/monocypher.c @@ -2309,7 +2309,7 @@ void crypto_elligator2_direct(uint8_t curve[32], const uint8_t hash[32]) fe_tobytes(curve, u); WIPE_BUFFER(t1); WIPE_BUFFER(r); WIPE_BUFFER(t2); WIPE_BUFFER(u); - WIPE_BUFFER(t3); + WIPE_BUFFER(t3); WIPE_BUFFER(clamped); } int crypto_curve_to_hash(uint8_t hash[32], const uint8_t curve[32]) -- 2.47.3