aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-03-09 03:39:04 +0000
committerlloyd <[email protected]>2007-03-09 03:39:04 +0000
commit029629c60b5ffa97c973fe0b07713cc42c5d7374 (patch)
treed1d09fecefa0a7af2a1a78573a804af4bebbb6bb /checks
parentc978b80839c237de58140be406ec950da07b26df (diff)
DSA-2048 and DSA-3072 benchmarks, disabled for a while due to lack of
'standard' groups (I may just go ahead and do this).
Diffstat (limited to 'checks')
-rw-r--r--checks/pk_bench.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/checks/pk_bench.cpp b/checks/pk_bench.cpp
index 6cb1ee4d5..47f858373 100644
--- a/checks/pk_bench.cpp
+++ b/checks/pk_bench.cpp
@@ -159,13 +159,15 @@ void bench_pk(const std::string& algo, bool html, double seconds)
{
#define DO_DSA(NUM_STR, GROUP) \
{ \
- DSA_PrivateKey dsa(DL_Group(GROUP)); \
+ DSA_PrivateKey dsa(GROUP); \
bench_dsa(dsa, NUM_STR, seconds, html); \
}
- DO_DSA("512", "dsa/jce/512");
- DO_DSA("768", "dsa/jce/768");
- DO_DSA("1024", "dsa/jce/1024");
+ DO_DSA("512", DL_Group("dsa/jce/512"));
+ DO_DSA("768", DL_Group("dsa/jce/768"));
+ DO_DSA("1024", DL_Group("dsa/jce/1024"));
+ //DO_DSA("2048", DL_Group(DL_Group::DSA_Kosherizer, 2048, 256));
+ //DO_DSA("3072", DL_Group(DL_Group::DSA_Kosherizer, 3072, 256));
#undef DO_DSA
}
if(algo == "All" || algo == "DH")