diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2016-12-30 21:46:03 -0500 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2016-12-30 21:46:03 -0500 |
| commit | 5c932fcc3b6333e48ff7cc2405230f4b616eeb50 (patch) | |
| tree | 1786e3493c6211be65784759b861a3be6f465d80 /test.cpp | |
| parent | 1fe0cc869b72eb8354258a6f25476d04149d9785 (diff) | |
| download | cryptopp-git-5c932fcc3b6333e48ff7cc2405230f4b616eeb50.tar.gz | |
Add NIST SP800-90A Hash_DRBG generator
Diffstat (limited to 'test.cpp')
| -rw-r--r-- | test.cpp | 57 |
1 files changed, 29 insertions, 28 deletions
@@ -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;
|
