projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fcdb1e
)
L=3072, N=256 provides 128 bits of security not 112.
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 16 Oct 2011 12:31:49 +0000
(12:31 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 16 Oct 2011 12:31:49 +0000
(12:31 +0000)
crypto/dsa/dsa_gen.c
patch
|
blob
|
history
diff --git
a/crypto/dsa/dsa_gen.c
b/crypto/dsa/dsa_gen.c
index c013a7e660ea0d95a49af481118823c65a1707fb..d5f4debc9223419de117c5374edc3930abd318d4 100644
(file)
--- 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 1
12
;
+ return 1
28
;
return 0;
}