aboutsummaryrefslogtreecommitdiffstats
path: root/src/extra_tests/timing/timing-tests/main.cpp
diff options
context:
space:
mode:
authorNever <[email protected]>2017-02-16 15:44:45 +0100
committerNever <[email protected]>2017-02-16 15:48:26 +0100
commita6c4a358dfb3b3319c3f5f643e795f0ddc14d070 (patch)
treec78d6377da28d5285eabd2a9c89a2f79f5f1b39a /src/extra_tests/timing/timing-tests/main.cpp
parentfc3f52703f62d76beda013623f745d5ac3c8cd1c (diff)
Add ecdsa timing test
Diffstat (limited to 'src/extra_tests/timing/timing-tests/main.cpp')
-rw-r--r--src/extra_tests/timing/timing-tests/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/extra_tests/timing/timing-tests/main.cpp b/src/extra_tests/timing/timing-tests/main.cpp
index 7b9e2b0fc..02742da84 100644
--- a/src/extra_tests/timing/timing-tests/main.cpp
+++ b/src/extra_tests/timing/timing-tests/main.cpp
@@ -130,6 +130,12 @@ int main(int argc, char* argv[])
std::string result_folder_sha384 = "results/lucky13sha384";
std::unique_ptr<Lucky13Test> test_sha384(new Lucky13Test(inputs, result_folder_sha384, "SHA-384", 48));
test_sha384->execute_evaluation();
+ }
+ else if (executeEvaluationWithFile("ecdsa", file, test_arg))
+ {
+ std::string result_folder_ecdsa = "results/ecdsa";
+ std::unique_ptr<ECDSATest> test_ecdsa(new ECDSATest(inputs, result_folder_ecdsa, "secp384r1"));
+ test_ecdsa->execute_evaluation();
}
else
{