sys/sha3: fix dead assignment of blockSize in Keccak_update

This commit is contained in:
Alexandre Abadie 2019-10-27 10:44:54 +01:00
parent c1ea3c2eb6
commit 74919d0646
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

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