diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-10-24 13:44:26 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-10-25 20:13:39 +0100 |
commit | 6a0ae393dd554eb718e5148696e8f437d4faae5b (patch) | |
tree | c263d550046a8373339a7b2241df3b1e6ab9c66e /doc/internal | |
parent | c7ed5e4697a71012e0a2d9dd5eaf997754ae5156 (diff) |
Blake2b: Use OSSL_DIGEST_PARAM_SIZE as settable instead of XOFLEN
BLAKE2 is not really an extensible output function unlike SHAKE
as the digest size must be set during the context initialization.
Thus it makes no sense to use OSSL_DIGEST_PARAM_XOFLEN.
We also need to adjust EVP_DigestFinal_ex() to query the
OSSL_DIGEST_PARAM_SIZE as gettable ctx param for the size.
Fixes #22488
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22491)
Diffstat (limited to 'doc/internal')
0 files changed, 0 insertions, 0 deletions