[openssl/openssl] 6b5666: Fix EVP_PKEY_CTX_add1_hkdf_info() behavior

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


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 6b566687b58fde08b28e3331377f050768fad89b
      https://github.com/openssl/openssl/commit/6b566687b58fde08b28e3331377f050768fad89b
  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)



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