From a78b39c6bd171c8851aa53debe8ebc1665104d9b Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 26 Oct 2008 20:40:46 +0000 Subject: Remove prohibition against generating DSA parameter set with a 224 bit q, since SHA-224 is now implemented. --- src/math/numbertheory/dsa_gen.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/math/numbertheory') diff --git a/src/math/numbertheory/dsa_gen.cpp b/src/math/numbertheory/dsa_gen.cpp index a9703e5bb..14f62dab3 100644 --- a/src/math/numbertheory/dsa_gen.cpp +++ b/src/math/numbertheory/dsa_gen.cpp @@ -45,10 +45,6 @@ bool generate_dsa_primes(RandomNumberGenerator& rng, "FIPS 186-3 does not allow DSA domain parameters of " + to_string(pbits) + "/" + to_string(qbits) + " bits long"); - if(qbits == 224) - throw Invalid_Argument( - "DSA parameter generation with a q of 224 bits not supported"); - if(seed_c.size() * 8 < qbits) throw Invalid_Argument( "Generating a DSA parameter set with a " + to_string(qbits) + -- cgit v1.2.3