[openssl/openssl] 4953ab: Fix EVP_PKEY_CTX_add1_hkdf_info() behavior

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


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 4953ab1aefd14db7038e28d62c0e3efb22ddb199
      https://github.com/openssl/openssl/commit/4953ab1aefd14db7038e28d62c0e3efb22ddb199
  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