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

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


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