mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
sys/sha3: fix dead assignment of blockSize in Keccak_update
This commit is contained in:
parent
c1ea3c2eb6
commit
74919d0646
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user