aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-04 16:53:11 +0000
committerlloyd <[email protected]>2010-03-04 16:53:11 +0000
commit634e6a30f066f64caa28be36d29c556f9edae8e1 (patch)
tree0d9fb52628de9725351889ac060d4b568f06cdd0 /checks
parentcc53a2e7f64a68a7df419d43ba9b58cbdaa08569 (diff)
More keygen tests
Diffstat (limited to 'checks')
-rw-r--r--checks/pk.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/checks/pk.cpp b/checks/pk.cpp
index d101b30f0..1a202bd7d 100644
--- a/checks/pk.cpp
+++ b/checks/pk.cpp
@@ -666,11 +666,15 @@ void do_pk_keygen_tests(RandomNumberGenerator& rng)
DL_KEY(DSA_PrivateKey, "dsa/jce/512");
DL_KEY(DSA_PrivateKey, "dsa/jce/768");
DL_KEY(DSA_PrivateKey, "dsa/jce/1024");
+ DL_KEY(DSA_PrivateKey, "dsa/botan/2048");
+ DL_KEY(DSA_PrivateKey, "dsa/botan/3072");
#endif
#if defined(BOTAN_HAS_DIFFIE_HELLMAN)
DL_KEY(DH_PrivateKey, "modp/ietf/768");
+ DL_KEY(DH_PrivateKey, "modp/ietf/1024");
DL_KEY(DH_PrivateKey, "modp/ietf/2048");
+ DL_KEY(DH_PrivateKey, "modp/ietf/4096");
DL_KEY(DH_PrivateKey, "dsa/jce/1024");
#endif
@@ -678,12 +682,16 @@ void do_pk_keygen_tests(RandomNumberGenerator& rng)
DL_KEY(NR_PrivateKey, "dsa/jce/512");
DL_KEY(NR_PrivateKey, "dsa/jce/768");
DL_KEY(NR_PrivateKey, "dsa/jce/1024");
+ DL_KEY(NR_PrivateKey, "dsa/botan/2048");
+ DL_KEY(NR_PrivateKey, "dsa/botan/3072");
#endif
#if defined(BOTAN_HAS_ELGAMAL)
DL_KEY(ElGamal_PrivateKey, "modp/ietf/768");
DL_KEY(ElGamal_PrivateKey, "modp/ietf/1024");
DL_KEY(ElGamal_PrivateKey, "dsa/jce/1024");
+ DL_KEY(ElGamal_PrivateKey, "dsa/botan/2048");
+ DL_KEY(ElGamal_PrivateKey, "dsa/botan/3072");
#endif
#if defined(BOTAN_HAS_ECDSA)