summaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-12-30 21:46:03 -0500
committerJeffrey Walton <noloader@gmail.com>2016-12-30 21:46:03 -0500
commit5c932fcc3b6333e48ff7cc2405230f4b616eeb50 (patch)
tree1786e3493c6211be65784759b861a3be6f465d80 /test.cpp
parent1fe0cc869b72eb8354258a6f25476d04149d9785 (diff)
downloadcryptopp-git-5c932fcc3b6333e48ff7cc2405230f4b616eeb50.tar.gz
Add NIST SP800-90A Hash_DRBG generator
Diffstat (limited to 'test.cpp')
-rw-r--r--test.cpp57
1 files changed, 29 insertions, 28 deletions
diff --git a/test.cpp b/test.cpp
index 76ab115b..11be60a1 100644
--- a/test.cpp
+++ b/test.cpp
@@ -900,34 +900,35 @@ 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 = ValidateMD5(); break;
- case 4: result = ValidateSHA(); break;
- case 5: result = ValidateDES(); break;
- case 6: result = ValidateIDEA(); break;
- case 7: result = ValidateARC4(); break;
- case 8: result = ValidateRC5(); break;
- case 9: result = ValidateBlowfish(); break;
-// case 10: result = ValidateDiamond2(); break;
- case 11: result = ValidateThreeWay(); break;
- case 12: result = ValidateBBS(); break;
- case 13: result = ValidateDH(); break;
- case 14: result = ValidateRSA(); break;
- case 15: result = ValidateElGamal(); break;
- case 16: result = ValidateDSA(thorough); break;
-// case 17: result = ValidateHAVAL(); break;
- case 18: result = ValidateSAFER(); break;
- case 19: result = ValidateLUC(); break;
- case 20: result = ValidateRabin(); break;
-// case 21: result = ValidateBlumGoldwasser(); break;
- case 22: result = ValidateECP(); break;
- case 23: result = ValidateEC2N(); break;
-// case 24: result = ValidateMD5MAC(); break;
- case 25: result = ValidateGOST(); break;
- case 26: result = ValidateTiger(); break;
- case 27: result = ValidateRIPEMD(); break;
- case 28: result = ValidateHMAC(); break;
-// case 29: result = ValidateXMACC(); break;
- case 30: result = ValidateSHARK(); break;
+ case 3: result = TestNIST_DRBG(); break;
+ case 4: result = ValidateMD5(); break;
+ case 5: result = ValidateSHA(); break;
+ case 6: result = ValidateDES(); break;
+ case 7: result = ValidateIDEA(); break;
+ case 8: result = ValidateARC4(); break;
+ case 9: result = ValidateRC5(); break;
+ case 10: result = ValidateBlowfish(); break;
+// case 11: result = ValidateDiamond2(); break;
+ case 12: result = ValidateThreeWay(); break;
+ case 13: result = ValidateBBS(); break;
+ case 14: result = ValidateDH(); break;
+ case 15: result = ValidateRSA(); break;
+ case 16: result = ValidateElGamal(); break;
+ case 17: result = ValidateDSA(thorough); break;
+// case 18: result = ValidateHAVAL(); break;
+ case 19: result = ValidateSAFER(); break;
+ case 20: result = ValidateLUC(); break;
+ case 21: result = ValidateRabin(); break;
+// case 22: result = ValidateBlumGoldwasser(); break;
+ case 23: result = ValidateECP(); break;
+ case 24: result = ValidateEC2N(); break;
+// case 25: result = ValidateMD5MAC(); break;
+ case 26: result = ValidateGOST(); break;
+ case 27: result = ValidateTiger(); break;
+ case 28: result = ValidateRIPEMD(); break;
+ case 29: result = ValidateHMAC(); break;
+// case 30: result = ValidateXMACC(); break;
+ case 31: result = ValidateSHARK(); break;
case 32: result = ValidateLUC_DH(); break;
case 33: result = ValidateLUC_DL(); break;
case 34: result = ValidateSEAL(); break;