From: Loup Vaillant Date: Sun, 22 Apr 2018 21:32:44 +0000 (+0200) Subject: removed redundant wipe X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=d04e396b6af6fffa97595648faea878b11370fe0;p=Monocypher.git removed redundant wipe `crypto_*_final()` functions wipe their contexts already. No need to wipe again. --- diff --git a/src/monocypher.c b/src/monocypher.c index d042aa2..6648336 100644 --- a/src/monocypher.c +++ b/src/monocypher.c @@ -691,7 +691,6 @@ static void extended_hash(u8 *digest, u32 digest_size, blake_update_32 (&ctx, digest_size); crypto_blake2b_update (&ctx, input, input_size); crypto_blake2b_final (&ctx, digest); - WIPE_CTX(&ctx); if (digest_size > 64) { // the conversion to u64 avoids integer overflow on