Security Scol plugin
|
CMAC message authentication code. More...
#include <cmac.h>
Public Member Functions | |
CMAC () | |
Construct a CMAC. | |
CMAC (const byte *key, size_t length=SameKeyLengthAs< T >::DEFAULT_KEYLENGTH) | |
Construct a CMAC. | |
![]() | |
std::string | AlgorithmName () const |
The algorithm name. | |
![]() | |
CRYPTOPP_CONSTANT (MIN_KEYLENGTH=T::MIN_KEYLENGTH) | |
The minimum key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (MAX_KEYLENGTH=T::MAX_KEYLENGTH) | |
The maximum key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (DEFAULT_KEYLENGTH=T::DEFAULT_KEYLENGTH) | |
The default key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (IV_REQUIREMENT=IV_REQ) | |
The default IV requirements for the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (IV_LENGTH=IV_L) | |
The default initialization vector length for the algorithm provided as a constant. | |
CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API | StaticGetValidKeyLength (size_t keylength) |
Provides a valid key length for the algorithm provided by a static function. | |
Static Public Member Functions | |
static std::string | StaticAlgorithmName () |
![]() | |
static std::string CRYPTOPP_API | StaticAlgorithmName () |
The algorithm name. | |
CMAC message authentication code.
T | block cipher |
Template parameter T should be a class derived from BlockCipherDocumentation, for example AES, with a block size of 8, 16, or 32.
|
inline |
|
inlinestatic |