Home GnuPG

Fix DSA for FIPS 186-3.

Description

Fix DSA for FIPS 186-3.

* cipher/dsa.c (generate_fips186): Supply INITIAL_SEED to
_gcry_generate_fips186_3_prime.
* tests/fips186-dsa.c (check_dsa_gen_186_2): Add where tv comes from.
(check_dsa_gen_186_3): Implement tests.
* tests/pubkey.c (get_dsa_key_fips186_with_seed_new): Use the qbits
and seed of tests/fips186-dsa.c.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 19 2021, 7:50 AM
Parents
rCebeae5322264: Check if FIPS is operational and error return if not.
Branches
Unknown
Tags
Unknown