11 #ifndef CRYPTOPP_FIPS140_H 12 #define CRYPTOPP_FIPS140_H 75 #ifndef CRYPTOPP_DOXYGEN_PROCESSING 91 #ifndef CRYPTOPP_DOXYGEN_PROCESSING 109 #define CRYPTOPP_DUMMY_DLL_MAC "MAC_51f34b8db820ae8" Base class for all exceptions thrown by the library.
void SetPowerUpSelfTestInProgressOnThisThread(bool inProgress)
CRYPTOPP_DLL MessageAuthenticationCode *CRYPTOPP_API NewIntegrityCheckingMAC()
Class object that calculates the MAC on the module.
The self tests were executed via DoPowerUpSelfTest() or DoDllPowerUpSelfTest(), and the result was su...
Interface for message authentication codes.
void SignaturePairwiseConsistencyTest(const PK_Signer &signer, const PK_Verifier &verifier)
CRYPTOPP_DLL void CRYPTOPP_API SimulatePowerUpSelfTestFailure()
Sets the power-up self test status to POWER_UP_SELF_TEST_FAILED.
#define NAMESPACE_BEGIN(x)
Interface for public-key signers.
Interface for public-key encryptors.
Abstract base classes that provide a uniform interface to this library.
The self tests were executed via DoPowerUpSelfTest() or DoDllPowerUpSelfTest(), but the result was fa...
SelfTestFailure(const std::string &s)
void EncryptionPairwiseConsistencyTest(const PK_Encryptor &encryptor, const PK_Decryptor &decryptor)
Classes and functions for secure memory allocations.
void EncryptionPairwiseConsistencyTest_FIPS_140_Only(const PK_Encryptor &encryptor, const PK_Decryptor &decryptor)
Interface for public-key decryptors.
Exception thrown when a crypto algorithm is used after a self test fails.
CRYPTOPP_DLL bool CRYPTOPP_API IntegrityCheckModule(const char *moduleFilename, const byte *expectedModuleMac, SecByteBlock *pActualMac=NULL, unsigned long *pMacFileLocation=NULL)
Verifies the MAC on the module.
void SignaturePairwiseConsistencyTest_FIPS_140_Only(const PK_Signer &signer, const PK_Verifier &verifier)
CRYPTOPP_DLL bool CRYPTOPP_API FIPS_140_2_ComplianceEnabled()
Determines whether the library provides FIPS validated cryptography.
bool PowerUpSelfTestInProgressOnThisThread()
The self tests have not been performed.
CRYPTOPP_DLL void CRYPTOPP_API DoPowerUpSelfTest(const char *moduleFilename, const byte *expectedModuleMac)
Performs the power-up self test.
Interface for public-key signature verifiers.
CRYPTOPP_DLL PowerUpSelfTestStatus CRYPTOPP_API GetPowerUpSelfTestStatus()
Provides the current power-up self test status.
PowerUpSelfTestStatus
Status of the power-up self test.
CRYPTOPP_DLL void CRYPTOPP_API DoDllPowerUpSelfTest()
Performs the power-up self test on the DLL.
PowerUpSelfTestStatus(CRYPTOPP_API * PGetPowerUpSelfTestStatus)()