Crypto++ 8.9
Free C++ class library of cryptographic schemes
|
CBC-MAC. More...
#include <cbcmac.h>
Public Member Functions | |
CBC_MAC () | |
Construct a CBC_MAC. | |
CBC_MAC (const byte *key, size_t length=SameKeyLengthAs< T >::DEFAULT_KEYLENGTH) | |
Construct a CBC_MAC. | |
Public Member Functions inherited from AlgorithmImpl< BASE, ALGORITHM_INFO > | |
std::string | AlgorithmName () const |
The algorithm name. | |
Static Public Member Functions | |
static std::string | StaticAlgorithmName () |
Static Public Member Functions inherited from AlgorithmImpl< BASE, ALGORITHM_INFO > | |
static std::string | StaticAlgorithmName () |
The algorithm name. | |
Static Public Member Functions inherited from SameKeyLengthAs< T, IV_REQ, IV_L > | |
static size_t | StaticGetValidKeyLength (size_t keylength) |
Provides a valid key length for the algorithm provided by a static function. | |
Additional Inherited Members | |
Static Public Attributes inherited from SameKeyLengthAs< T, IV_REQ, IV_L > | |
static const int | MIN_KEYLENGTH =T::MIN_KEYLENGTH |
The minimum key length used by the algorithm provided as a constant. | |
static const int | MAX_KEYLENGTH =T::MAX_KEYLENGTH |
The maximum key length used by the algorithm provided as a constant. | |
static const int | DEFAULT_KEYLENGTH =T::DEFAULT_KEYLENGTH |
The default key length used by the algorithm provided as a constant. | |
static const int | IV_REQUIREMENT =IV_REQ |
The default IV requirements for the algorithm provided as a constant. | |
static const int | IV_LENGTH =IV_L |
The default initialization vector length for the algorithm provided as a constant. | |
CBC-MAC.
T | BlockCipherDocumentation derived class |
CBC-MAC is compatible with FIPS 113. The MAC is secure only for fixed length messages. For variable length messages use CMAC or DMAC.
|
inline |
|
inlinestatic |