]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix EVP_PKEY_CTX_add1_hkdf_info() behavior
authorTodd Short <todd.short@me.com>
Fri, 2 Feb 2024 04:09:38 +0000 (23:09 -0500)
committerTomas Mraz <tomas@openssl.org>
Tue, 9 Apr 2024 18:19:07 +0000 (20:19 +0200)
commit6b566687b58fde08b28e3331377f050768fad89b
treeabd753bfb8153bd397271168f7dd6e677be29c15
parent56e4d112ae226d5fa0210cd1f0dd96e6857805fd
Fix EVP_PKEY_CTX_add1_hkdf_info() behavior

Fix #23448

`EVP_PKEY_CTX_add1_hkdf_info()` behaves like a `set1` function.

Fix the setting of the parameter in the params code.
Update the TLS_PRF code to also use the params code.
Add tests.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23456)
crypto/evp/pmeth_lib.c
providers/implementations/exchange/kdf_exch.c
providers/implementations/kdfs/hkdf.c
test/pkey_meth_kdf_test.c