mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #12582 from aabadie/pr/sys/sha_dead_assignment
sys/sha3: fix dead assignment of blockSize in Keccak_update
This commit is contained in:
commit
422d6d5f1a
@ -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…
Reference in New Issue
Block a user