diff options
author | Jack Lloyd <[email protected]> | 2018-03-04 06:35:37 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-04 06:35:55 -0500 |
commit | 9b2f336feba2aa0462a16625ab3cae34ce395f4a (patch) | |
tree | ee24189d94fb041e9c2dc663a8a307ebdbc609d5 | |
parent | 9d552010688623e185e4ae15cd045b6c79b17cb7 (diff) |
Fix timing_test names
Closes #1465
-rw-r--r-- | src/cli/timing_tests.cpp | 20 | ||||
-rw-r--r-- | src/tests/data/timing/lucky13sec4sha384.vec (renamed from src/tests/data/timing/lucky13sha384.vec) | 0 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/cli/timing_tests.cpp b/src/cli/timing_tests.cpp index 3e267829f..48dcbce1e 100644 --- a/src/cli/timing_tests.cpp +++ b/src/cli/timing_tests.cpp @@ -495,14 +495,14 @@ class Timing_Test_Command final : public Command { // TODO check feature macros return (Command::help_text() + - "\ntest_type can take on values " + - "bleichenbacher " + + "\ntest_type can take on values " + "bleichenbacher " "manger " - "ecdsa " + - "lucky13sha1sec3 " + - "lucky13sha256sec3 " + - "lucky13sec4sha1 " + - "lucky13sec4sha256 " + + "ecdsa " + "ecc_mul " + "lucky13sec3 " + "lucky13sec4sha1 " + "lucky13sec4sha256 " "lucky13sec4sha384 " ); } @@ -548,15 +548,15 @@ std::unique_ptr<Timing_Test> Timing_Test_Command::lookup_timing_test(const std:: #endif #if defined(BOTAN_HAS_TLS_CBC) - if(test_type == "lucky13sha1sec3" || test_type == "lucky13sha1sec4") + if(test_type == "lucky13sec3" || test_type == "lucky13sec4sha1") { return std::unique_ptr<Timing_Test>(new Lucky13_Timing_Test("SHA-1", 20)); } - if(test_type == "lucky13sha256sec3" || test_type == "lucky13sha256sec4") + if(test_type == "lucky13sec4sha256") { return std::unique_ptr<Timing_Test>(new Lucky13_Timing_Test("SHA-256", 32)); } - if(test_type == "lucky13sha384") + if(test_type == "lucky13sec4sha384") { return std::unique_ptr<Timing_Test>(new Lucky13_Timing_Test("SHA-384", 48)); } diff --git a/src/tests/data/timing/lucky13sha384.vec b/src/tests/data/timing/lucky13sec4sha384.vec index b5a0e2441..b5a0e2441 100644 --- a/src/tests/data/timing/lucky13sha384.vec +++ b/src/tests/data/timing/lucky13sec4sha384.vec |