summaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-02-07 08:51:58 -0500
committerJeffrey Walton <noloader@gmail.com>2017-02-07 08:51:58 -0500
commit2868452193e32156da4d0bc4ffe113daf4e3e121 (patch)
treec31d382de42ffc9dff626107924445071886aca7 /test.cpp
parent8e088b48654f78cb9bc0643276e1b7e1168e0571 (diff)
downloadcryptopp-git-2868452193e32156da4d0bc4ffe113daf4e3e121.tar.gz
Add NIST SP800-90A HMAC_DRBG generator
Move bodies out-of-line Whitespace
Diffstat (limited to 'test.cpp')
-rw-r--r--test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test.cpp b/test.cpp
index feaf51ce..6920048a 100644
--- a/test.cpp
+++ b/test.cpp
@@ -900,7 +900,7 @@ bool Validate(int alg, bool thorough, const char *seedInput)
case 0: result = ValidateAll(thorough); break;
case 1: result = TestSettings(); break;
case 2: result = TestOS_RNG(); break;
- case 3: result = TestNIST_DRBG(); break;
+// case 3: result = TestSecRandom(); break;
case 4: result = ValidateMD5(); break;
case 5: result = ValidateSHA(); break;
case 6: result = ValidateDES(); break;
@@ -974,6 +974,8 @@ bool Validate(int alg, bool thorough, const char *seedInput)
case 74: result = ValidateBLAKE2b(); break;
case 75: result = ValidatePoly1305(); break;
case 76: result = ValidateSipHash(); break;
+ case 77: result = ValidateHashDRBG(); break;
+ case 78: result = ValidateHmacDRBG(); break;
#if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_IMPORTS)
// http://github.com/weidai11/cryptopp/issues/92