summaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-12-13 19:16:21 -0500
committerJeffrey Walton <noloader@gmail.com>2016-12-13 19:16:21 -0500
commit379e76d27d976095b44fbbdf672898a756278ded (patch)
tree7165244fb5bed3c70f51cec5e6310d82843e2852 /test.cpp
parentcecf719fcd8cde0724567d4b38360daae52b4597 (diff)
downloadcryptopp-git-379e76d27d976095b44fbbdf672898a756278ded.tar.gz
Add ECGDSA benchmarks using secp256k1 and sect233r1
Also add missing validation functions to test.cpp. The test and functions were present, but only accessible with 'cryptest.ex v', where all the tests were run
Diffstat (limited to 'test.cpp')
-rw-r--r--test.cpp52
1 files changed, 27 insertions, 25 deletions
diff --git a/test.cpp b/test.cpp
index 3a535b3d..0bbefea6 100644
--- a/test.cpp
+++ b/test.cpp
@@ -945,31 +945,33 @@ bool Validate(int alg, bool thorough, const char *seedInput)
case 46: result = ValidateSerpent(); break;
case 47: result = ValidateCipherModes(); break;
case 48: result = ValidateCRC32(); break;
- case 49: result = ValidateECDSA(); break;
- case 50: result = ValidateXTR_DH(); break;
- case 51: result = ValidateSKIPJACK(); break;
- case 52: result = ValidateSHA2(); break;
- case 53: result = ValidatePanama(); break;
- case 54: result = ValidateAdler32(); break;
- case 55: result = ValidateMD4(); break;
- case 56: result = ValidatePBKDF(); break;
- case 57: result = ValidateESIGN(); break;
- case 58: result = ValidateDLIES(); break;
- case 59: result = ValidateBaseCode(); break;
- case 60: result = ValidateSHACAL2(); break;
- case 61: result = ValidateCamellia(); break;
- case 62: result = ValidateWhirlpool(); break;
- case 63: result = ValidateTTMAC(); break;
- case 64: result = ValidateSalsa(); break;
- case 65: result = ValidateSosemanuk(); break;
- case 66: result = ValidateVMAC(); break;
- case 67: result = ValidateCCM(); break;
- case 68: result = ValidateGCM(); break;
- case 69: result = ValidateCMAC(); break;
- case 70: result = ValidateHKDF(); break;
- case 71: result = ValidateBLAKE2s(); break;
- case 72: result = ValidateBLAKE2b(); break;
- case 73: result = ValidateECGDSA(); break;
+ case 49: result = ValidateCRC32C(); break;
+ case 50: result = ValidateECDSA(); break;
+ case 51: result = ValidateECGDSA(); break;
+ case 52: result = ValidateXTR_DH(); break;
+ case 53: result = ValidateSKIPJACK(); break;
+ case 54: result = ValidateSHA2(); break;
+ case 55: result = ValidatePanama(); break;
+ case 56: result = ValidateAdler32(); break;
+ case 57: result = ValidateMD4(); break;
+ case 58: result = ValidatePBKDF(); break;
+ case 59: result = ValidateESIGN(); break;
+ case 60: result = ValidateDLIES(); break;
+ case 61: result = ValidateBaseCode(); break;
+ case 62: result = ValidateSHACAL2(); break;
+ case 63: result = ValidateCamellia(); break;
+ case 64: result = ValidateWhirlpool(); break;
+ case 65: result = ValidateTTMAC(); break;
+ case 66: result = ValidateSalsa(); break;
+ case 67: result = ValidateSosemanuk(); break;
+ case 68: result = ValidateVMAC(); break;
+ case 69: result = ValidateCCM(); break;
+ case 70: result = ValidateGCM(); break;
+ case 71: result = ValidateCMAC(); break;
+ case 72: result = ValidateHKDF(); break;
+ case 73: result = ValidateBLAKE2s(); break;
+ case 74: result = ValidateBLAKE2b(); break;
+ case 75: result = ValidatePoly1305(); break;
default: return false;
}