Home GnuPG

Simplify the PCT for RSA and ECDSA
285bf54b1ac7Unpublished

Unpublished Commit · Learn More

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

Description

Simplify the PCT for RSA and ECDSA

Could be squashed.

  • cipher/ecc.c (test_keys_fips): Simplify to accept key in SEXP format (nist_generate_key): Skip call to test keys (ecc_generate): Call test keys in FIPS mode later, when we have complete SEXP key structure.
  • cipher/rsa.c (test_keys_fips): Simplify to accept key in SEXP format (generate_fips): Skip selftest at this stage (rsa_generate): Test the keys later when we already have key in SEXP format --

Cherry-picked from master commit:
a527d252b89958864153da9ad149e97bb96e1692

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

Details

Provenance
JakujeAuthored on Aug 16 2022, 10:27 AM
gniibeCommitted on Aug 30 2022, 4:01 AM
Parents
rC076a8adaf314: ecc: Run PCT also with the digest step
Branches
Unknown
Tags
Unknown