Home GnuPG

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

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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

Cherry-picked from master commit:
1fc7bfc351ba1d7fa31c0c62a24ad78e9e1cfd5b

  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Aug 2 2022, 8:53 PM
gniibeCommitted on Aug 30 2022, 3:59 AM
Parents
rCab5aef9b7b6e: hmac: Allow use of shorter salt.
Branches
Unknown
Tags
Unknown