aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/numbertheory
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-26 20:40:46 +0000
committerlloyd <[email protected]>2008-10-26 20:40:46 +0000
commita78b39c6bd171c8851aa53debe8ebc1665104d9b (patch)
treeba5e288c3ff25da573dad151ed01df946f3082c4 /src/math/numbertheory
parentc2e0fb6fd6aa617d150fe00a5c5a691c1a3cb2f5 (diff)
Remove prohibition against generating DSA parameter set with a 224 bit q,
since SHA-224 is now implemented.
Diffstat (limited to 'src/math/numbertheory')
-rw-r--r--src/math/numbertheory/dsa_gen.cpp4
1 files changed, 0 insertions, 4 deletions
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) +