1 #ifndef CRYPTOPP_FIPS140_H
2 #define CRYPTOPP_FIPS140_H
11 NAMESPACE_BEGIN(CryptoPP)
17 explicit SelfTestFailure(
const std::string &s) : Exception(OTHER_ERROR, s) {}
27 CRYPTOPP_DLL
void CRYPTOPP_API
DoPowerUpSelfTest(
const char *moduleFilename,
const byte *expectedModuleMac);
42 CRYPTOPP_DLL
bool CRYPTOPP_API IntegrityCheckModule(
const char *moduleFilename,
const byte *expectedModuleMac,
SecByteBlock *pActualMac = NULL,
unsigned long *pMacFileLocation = NULL);
45 bool PowerUpSelfTestInProgressOnThisThread();
47 void SetPowerUpSelfTestInProgressOnThisThread(
bool inProgress);
52 void SignaturePairwiseConsistencyTest_FIPS_140_Only(
const PK_Signer &signer,
const PK_Verifier &verifier);
55 #define CRYPTOPP_DUMMY_DLL_MAC "MAC_51f34b8db820ae8"