Home GnuPG

fips: Run digest&sign self tests for RSA and ECC in FIPS mode.

Description

fips: Run digest&sign self tests for RSA and ECC in FIPS mode.

* cipher/ecc.c (selftest_hash_sign): Implement digest & sign KAT
 (selftests_ecdsa): Run the original basic test only with extended tests
 (run_selftests): Pass-through the extended argument
* cipher/rsa.c (selftest_hash_sign_2048): Implement digest & sign KAT
 (selftests_rsa): Run the original basic test only with extended tests
 (run_selftests): Pass-through the extended argument
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Aug 2 2022, 8:53 PM
gniibeCommitted on Aug 23 2022, 8:32 AM
Parents
rCa20700c55f0e: kdf: Allow empty password for Argon2
Branches
Unknown
Tags
Unknown