diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-11-08 10:22:54 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-11-13 12:29:28 +0100 |
commit | aa95fb14003121d0b6c86e564c31cb95424d4bed (patch) | |
tree | 6b9b0f6bd19c28d818484f4dab40120781a9ab6f /test | |
parent | 26997d66059432e1fa5bf946249a0bf6086dd716 (diff) |
Properly limit the variable output size for BLAKE2
The upper limit of the output size is the default output size
of the algorithm.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22661)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/30-test_evp_data/evpmd_blake.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/recipes/30-test_evp_data/evpmd_blake.txt b/test/recipes/30-test_evp_data/evpmd_blake.txt index 474e659142..5fdb574d45 100644 --- a/test/recipes/30-test_evp_data/evpmd_blake.txt +++ b/test/recipes/30-test_evp_data/evpmd_blake.txt @@ -99,3 +99,8 @@ Digest = BLAKE2b512 Input = 61 OutputSize = 32 Output = 8928aae63c84d87ea098564d1e03ad813f107add474e56aedd286349c0c03ea4 + +Digest = BLAKE2b512 +Input = 61 +OutputSize = 65 +Result = DIGESTINIT_ERROR |