diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-10-16 12:31:49 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-10-16 12:31:49 +0000 |
commit | bc1b04d255eb31ba3cf80a82d98adbfbbadf621f (patch) | |
tree | 278a55eb44a1de0afebe7ecced64d145fca056b4 /crypto/dsa/dsa_gen.c | |
parent | 8fcdb1e60f0dcc09dff5395de95e884d4f8610ce (diff) |
L=3072, N=256 provides 128 bits of security not 112.
Diffstat (limited to 'crypto/dsa/dsa_gen.c')
-rw-r--r-- | crypto/dsa/dsa_gen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dsa/dsa_gen.c b/crypto/dsa/dsa_gen.c index c013a7e660..d5f4debc92 100644 --- a/crypto/dsa/dsa_gen.c +++ b/crypto/dsa/dsa_gen.c @@ -405,7 +405,7 @@ static int dsa2_valid_parameters(size_t L, size_t N) if (L == 2048 && N == 256) return 112; if (L == 3072 && N == 256) - return 112; + return 128; return 0; } |