提交 6dccec2b 编写于 作者: D Dr. Stephen Henson

Fix Blake block length

PR#4514
Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 b1b3e14f
...@@ -49,7 +49,7 @@ static const EVP_MD blake2b_md = { ...@@ -49,7 +49,7 @@ static const EVP_MD blake2b_md = {
final, final,
NULL, NULL,
NULL, NULL,
0, BLAKE2B_BLOCKBYTES,
sizeof(EVP_MD *) + sizeof(BLAKE2B_CTX), sizeof(EVP_MD *) + sizeof(BLAKE2B_CTX),
}; };
......
...@@ -49,7 +49,7 @@ static const EVP_MD blake2s_md = { ...@@ -49,7 +49,7 @@ static const EVP_MD blake2s_md = {
final, final,
NULL, NULL,
NULL, NULL,
0, BLAKE2S_BLOCKBYTES,
sizeof(EVP_MD *) + sizeof(BLAKE2S_CTX), sizeof(EVP_MD *) + sizeof(BLAKE2S_CTX),
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册