summaryrefslogtreecommitdiff
path: root/bench2.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2011-04-26 16:11:00 +0000
committerweidai <weidai11@users.noreply.github.com>2011-04-26 16:11:00 +0000
commit97cf1c813a26416396cbc78799e3ca34bddb5448 (patch)
tree5cdc22b7115acc90c69492dfe12ba857d8e33d27 /bench2.cpp
parent01719701423214b422d695ae753afe523741a08a (diff)
downloadcryptopp-git-97cf1c813a26416396cbc78799e3ca34bddb5448.tar.gz
re-enable accidentally disabled benchmarks
Diffstat (limited to 'bench2.cpp')
-rw-r--r--bench2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench2.cpp b/bench2.cpp
index 26c0f1f9..ca08a99d 100644
--- a/bench2.cpp
+++ b/bench2.cpp
@@ -232,7 +232,7 @@ extern double g_hertz;
void BenchmarkAll2(double t, double hertz)
{
g_hertz = hertz;
-#if 0
+
cout << "<TABLE border=1><COLGROUP><COL align=left><COL align=right><COL align=right>" << endl;
cout << "<THEAD><TR><TH>Operation<TH>Milliseconds/Operation" << (g_hertz ? "<TH>Megacycles/Operation" : "") << endl;
@@ -275,7 +275,7 @@ void BenchmarkAll2(double t, double hertz)
BenchMarkKeyAgreement<LUC_DH>("TestData/lucd1024.dat", "LUCDIF 1024", t);
BenchMarkKeyAgreement<MQV>("TestData/mqv1024.dat", "MQV 1024", t);
BenchMarkKeyAgreement<MQV>("TestData/mqv2048.dat", "MQV 2048", t);
-#endif
+
cout << "\n<TBODY style=\"background: white\">";
{
ECIES<ECP>::Decryptor cpriv(GlobalRNG(), ASN1::secp256k1());