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) {
|
if (blockSize == ctx->rateInBytes) {
|
||||||
KeccakF1600_StatePermute(ctx->state);
|
KeccakF1600_StatePermute(ctx->state);
|
||||||
blockSize = 0;
|
|
||||||
ctx->i = 0;
|
ctx->i = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user