Browse Source

Change sha3_512_inc_finalize output length to 64

master
Douglas Stebila 5 years ago
parent
commit
e53cf16fa8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/fips202.c

+ 1
- 1
common/fips202.c View File

@@ -775,7 +775,7 @@ void sha3_512_inc_finalize(uint8_t *output, sha3_512incctx *state) {


keccak_squeezeblocks(t, 1, state->ctx, SHA3_512_RATE); keccak_squeezeblocks(t, 1, state->ctx, SHA3_512_RATE);


for (size_t i = 0; i < 32; i++) {
for (size_t i = 0; i < 64; i++) {
output[i] = t[i]; output[i] = t[i];
} }
} }


Loading…
Cancel
Save