| 366 | } |
| 367 | |
| 368 | bool ValidateDH() |
| 369 | { |
| 370 | cout << "\nDH validation suite running...\n\n"; |
| 371 | |
| 372 | FileSource f(CRYPTOPP_DATA_DIR "TestData/dh1024.dat", true, new HexDecoder()); |
| 373 | DH dh(f); |
| 374 | return SimpleKeyAgreementValidate(dh); |
| 375 | } |
| 376 | |
| 377 | bool ValidateMQV() |
| 378 | { |