From 74919d06464a348edc70b70222efeeefe3e2032f Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sun, 27 Oct 2019 10:44:54 +0100 Subject: [PATCH] sys/sha3: fix dead assignment of blockSize in Keccak_update --- sys/hashes/sha3.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/hashes/sha3.c b/sys/hashes/sha3.c index 62803dc1c2..313915b68c 100644 --- a/sys/hashes/sha3.c +++ b/sys/hashes/sha3.c @@ -424,7 +424,6 @@ void Keccak_update(keccak_state_t *ctx, const unsigned char *input, if (blockSize == ctx->rateInBytes) { KeccakF1600_StatePermute(ctx->state); - blockSize = 0; ctx->i = 0; } }