浏览代码

Merge pull request #203 from PQClean/ds-sha3-512-finalize

Change sha3_512_inc_finalize output length to 64
master
Thom Wiggers 5 年前
committed by GitHub
父节点
当前提交
be941b28a8
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      common/fips202.c

+ 1
- 1
common/fips202.c 查看文件

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

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


正在加载...
取消
保存