From: Loup Vaillant Date: Mon, 9 Mar 2020 23:05:53 +0000 (+0100) Subject: Forgot to wipe a buffer X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=8f2263b620a775dfce19a58af2cf010b1feb9ca5;p=Monocypher.git Forgot to wipe a buffer --- 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])