diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-01-23 13:19:27 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-01-23 13:19:27 -0500 |
commit | d72b516c29e21f07e2dac2612d9571614172a304 (patch) | |
tree | 2e15001b9ba4324bbacfd56623d2854804448dc5 /gfpcrypt.cpp | |
parent | dfb6f0dbc2dc636b15da2276047201f59090c72f (diff) | |
download | cryptopp-git-d72b516c29e21f07e2dac2612d9571614172a304.tar.gz |
Make 2048-bit modulus default for DSA (GH #571)
Diffstat (limited to 'gfpcrypt.cpp')
-rw-r--r-- | gfpcrypt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfpcrypt.cpp b/gfpcrypt.cpp index 6494b084..c54c4ee1 100644 --- a/gfpcrypt.cpp +++ b/gfpcrypt.cpp @@ -45,7 +45,7 @@ void DL_GroupParameters_DSA::GenerateRandom(RandomNumberGenerator &rng, const Na }
else
{
- int modulusSize = 1024, defaultSubgroupOrderSize;
+ int modulusSize = 2048, defaultSubgroupOrderSize;
alg.GetIntValue("ModulusSize", modulusSize) || alg.GetIntValue("KeySize", modulusSize);
switch (modulusSize)
|