[openssl/openssl] 50edd7: Fix EVP_PKEY_CTX_add1_hkdf_info() behavior

Todd Short noreply at github.com
Tue Apr 9 18:23:58 UTC 2024


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: 50edd7f623b4b1f35954365c2a11ede6df30a8b7
      https://github.com/openssl/openssl/commit/50edd7f623b4b1f35954365c2a11ede6df30a8b7
  Author: Todd Short <todd.short at me.com>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M crypto/evp/pmeth_lib.c
    M providers/implementations/exchange/kdf_exch.c
    M providers/implementations/kdfs/hkdf.c
    M test/pkey_meth_kdf_test.c

  Log Message:
  -----------
  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 at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23456)

(cherry picked from commit 6b566687b58fde08b28e3331377f050768fad89b)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list