aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-15 20:05:07 +0000
committerlloyd <[email protected]>2010-03-15 20:05:07 +0000
commit053c78fa79ec9eaef13262314c702b4a1024234d (patch)
tree1815ddd14ceb3c4b1f055624b33280a82a0b1bf2 /checks
parentbb3cc0357bc01cca1e50a3a88143c8715c136219 (diff)
Disable fault protection for DSA, NR, and GOST 34.10 benchmarks
Diffstat (limited to 'checks')
-rw-r--r--checks/pk_bench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/pk_bench.cpp b/checks/pk_bench.cpp
index e3e96ae04..9baecb4f2 100644
--- a/checks/pk_bench.cpp
+++ b/checks/pk_bench.cpp
@@ -379,7 +379,7 @@ void benchmark_gost_3410(RandomNumberGenerator& rng,
GOST_3410_PrivateKey key(rng, params);
keygen_timer.stop();
- PK_Signer sig(key, padding);
+ PK_Signer sig(key, padding, IEEE_1363, DISABLE_FAULT_PROTECTION);
PK_Verifier ver(key, padding);
benchmark_sig_ver(ver, sig, verify_timer,
@@ -488,7 +488,7 @@ void benchmark_dsa_nr(RandomNumberGenerator& rng,
algo_name = key.algo_name();
keygen_timer.stop();
- PK_Signer sig(key, padding);
+ PK_Signer sig(key, padding, IEEE_1363, DISABLE_FAULT_PROTECTION);
PK_Verifier ver(key, padding);
benchmark_sig_ver(ver, sig, verify_timer,