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

Change sha3_512_inc_finalize output length to 64
This commit is contained in:
Thom Wiggers 2019-07-05 16:32:05 +02:00 提交者 GitHub
當前提交 be941b28a8
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23

查看文件

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