Home GnuPG

ecc: Make the PCT recoverable in FIPS mode and consistent with RSA.

Description

ecc: Make the PCT recoverable in FIPS mode and consistent with RSA.

* cipher/ecc.c (test_keys_fips): Replace calls to log_fatal with
return code on error.
(ecc_generate): Signal error when PCT fails in FIPS mode.
  • GnuPG-bug-id: T6397
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Mar 2 2023, 9:43 AM
gniibeCommitted on Mar 7 2023, 2:42 AM
Parents
rC2ddeec574bc1: ecc: Do not allow skipping tests in FIPS Mode.
Branches
Unknown
Tags
Unknown
Tasks
T6397: PCT failures inconsistency in regards to the FIPS error state