[openssl/openssl] a76ccb: FFC cleanups

Shane noreply at github.com
Mon Apr 3 08:33:37 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: a76ccb9d0ddc24f6551afbc220b41fb3c4e64c6a
      https://github.com/openssl/openssl/commit/a76ccb9d0ddc24f6551afbc220b41fb3c4e64c6a
  Author: slontis <shane.lontis at oracle.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M crypto/dh/dh_backend.c
    M crypto/dsa/dsa_key.c
    M crypto/dsa/dsa_lib.c
    M crypto/ffc/ffc_backend.c
    M crypto/ffc/ffc_params.c
    M include/internal/ffc.h
    M providers/implementations/keymgmt/dh_kmgmt.c
    M providers/implementations/keymgmt/dsa_kmgmt.c
    M test/evp_extra_test2.c

  Log Message:
  -----------
  FFC cleanups

Discovered during coverage testing.

Remove unneccesary check when using ossl_dh_get0_params() and
ossl_dsa_get0_params(). These point to addresses and can not fail
for any existing calls.

Make dsa keygen tests only available in the FIPS module - as they are
not used in the default provider.

Change ossl_ffc_set_digest() to return void as it cannot fail.

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20359)




More information about the openssl-commits mailing list