11#ifndef CRYPTOPP_FIPS140_H
12#define CRYPTOPP_FIPS140_H
74#ifndef CRYPTOPP_DOXYGEN_PROCESSING
90#ifndef CRYPTOPP_DOXYGEN_PROCESSING
92bool PowerUpSelfTestInProgressOnThisThread();
94void SetPowerUpSelfTestInProgressOnThisThread(
bool inProgress);
99void SignaturePairwiseConsistencyTest_FIPS_140_Only(
const PK_Signer &signer,
const PK_Verifier &verifier);
108#define CRYPTOPP_DUMMY_DLL_MAC "MAC_51f34b8db820ae8"
Base class for all exceptions thrown by the library.
Interface for message authentication codes.
Interface for public-key decryptors.
Interface for public-key encryptors.
Interface for public-key signers.
Interface for public-key signature verifiers.
Exception thrown when a crypto algorithm is used after a self test fails.
#define CRYPTOPP_API
Win32 calling convention.
Abstract base classes that provide a uniform interface to this library.
CRYPTOPP_DLL bool FIPS_140_2_ComplianceEnabled()
Determines whether the library provides FIPS validated cryptography.
CRYPTOPP_DLL MessageAuthenticationCode * NewIntegrityCheckingMAC()
Class object that calculates the MAC on the module.
CRYPTOPP_DLL PowerUpSelfTestStatus GetPowerUpSelfTestStatus()
Provides the current power-up self test status.
CRYPTOPP_DLL bool IntegrityCheckModule(const char *moduleFilename, const byte *expectedModuleMac, SecByteBlock *pActualMac=NULL, unsigned long *pMacFileLocation=NULL)
Verifies the MAC on the module.
PowerUpSelfTestStatus
Status of the power-up self test.
@ POWER_UP_SELF_TEST_NOT_DONE
The self tests have not been performed.
@ POWER_UP_SELF_TEST_PASSED
The self tests were executed via DoPowerUpSelfTest() or DoDllPowerUpSelfTest(), and the result was su...
@ POWER_UP_SELF_TEST_FAILED
The self tests were executed via DoPowerUpSelfTest() or DoDllPowerUpSelfTest(), but the result was fa...
CRYPTOPP_DLL void DoPowerUpSelfTest(const char *moduleFilename, const byte *expectedModuleMac)
Performs the power-up self test.
CRYPTOPP_DLL void SimulatePowerUpSelfTestFailure()
Sets the power-up self test status to POWER_UP_SELF_TEST_FAILED.
CRYPTOPP_DLL void DoDllPowerUpSelfTest()
Performs the power-up self test on the DLL.
Crypto++ library namespace.
Classes and functions for secure memory allocations.