diff options
Diffstat (limited to 'src/pk')
-rw-r--r-- | src/pk/dsa/dsa.cpp | 2 | ||||
-rw-r--r-- | src/pk/nr/nr.cpp | 2 | ||||
-rw-r--r-- | src/pk/pubkey/info.txt | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/pk/dsa/dsa.cpp b/src/pk/dsa/dsa.cpp index a7eb8e789..ef69a1ee5 100644 --- a/src/pk/dsa/dsa.cpp +++ b/src/pk/dsa/dsa.cpp @@ -64,7 +64,7 @@ DSA_PrivateKey::DSA_PrivateKey(RandomNumberGenerator& rng, if(x == 0) { - x = random_integer(rng, 2, group_q() - 1); + x = BigInt::random_integer(rng, 2, group_q() - 1); PKCS8_load_hook(rng, true); } else diff --git a/src/pk/nr/nr.cpp b/src/pk/nr/nr.cpp index 02919d52e..99eff9726 100644 --- a/src/pk/nr/nr.cpp +++ b/src/pk/nr/nr.cpp @@ -63,7 +63,7 @@ NR_PrivateKey::NR_PrivateKey(RandomNumberGenerator& rng, if(x == 0) { - x = random_integer(rng, 2, group_q() - 1); + x = BigInt::random_integer(rng, 2, group_q() - 1); PKCS8_load_hook(rng, true); } else diff --git a/src/pk/pubkey/info.txt b/src/pk/pubkey/info.txt index 9dea71d72..05ff2bde0 100644 --- a/src/pk/pubkey/info.txt +++ b/src/pk/pubkey/info.txt @@ -4,6 +4,7 @@ define PUBKEY_BASE <requires> bigint +math asn1 </requires> |