diff options
-rw-r--r-- | crypto/blake2/m_blake2b.c | 2 | ||||
-rw-r--r-- | crypto/blake2/m_blake2s.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/blake2/m_blake2b.c b/crypto/blake2/m_blake2b.c index 2135c7a129..f613bfff17 100644 --- a/crypto/blake2/m_blake2b.c +++ b/crypto/blake2/m_blake2b.c @@ -49,7 +49,7 @@ static const EVP_MD blake2b_md = { final, NULL, NULL, - 0, + BLAKE2B_BLOCKBYTES, sizeof(EVP_MD *) + sizeof(BLAKE2B_CTX), }; diff --git a/crypto/blake2/m_blake2s.c b/crypto/blake2/m_blake2s.c index e699184822..3fbb232e05 100644 --- a/crypto/blake2/m_blake2s.c +++ b/crypto/blake2/m_blake2s.c @@ -49,7 +49,7 @@ static const EVP_MD blake2s_md = { final, NULL, NULL, - 0, + BLAKE2S_BLOCKBYTES, sizeof(EVP_MD *) + sizeof(BLAKE2S_CTX), }; |