[openssl/openssl] aba72b: Fix FFC mdprop setting bugs.

Shane noreply at github.com
Tue Feb 28 22:39:25 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: aba72bdf81e3ef594605b0098e268e9f2cf71bba
      https://github.com/openssl/openssl/commit/aba72bdf81e3ef594605b0098e268e9f2cf71bba
  Author: slontis <shane.lontis at oracle.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M crypto/ffc/ffc_backend.c
    M crypto/ffc/ffc_params.c
    M test/evp_extra_test2.c

  Log Message:
  -----------
  Fix FFC mdprop setting bugs.

Coverage testing showed that ossl_ffc_params_fromdata() was not setting
OSSL_PKEY_PARAM_FFC_DIGEST_PROPS.
Adding a negative test also showed that ossl_ffc_params_copy() did not
do a shallow copy of the digest or digest property.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20385)

(cherry picked from commit 3307338e26862070eaacad6ec7537a63a63b8a90)




More information about the openssl-commits mailing list