1
0
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:
benpicco 2019-10-27 13:05:16 +01:00 committed by GitHub
commit 422d6d5f1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}