#include <cbcmac.h>
Inheritance diagram for CBC_MAC< T >:
Compatible with FIPS 113. T should be a class derived from BlockCipherDocumentation. Secure only for fixed length messages. For variable length messages use DMAC.
Definition at line 35 of file cbcmac.h.
Public Member Functions | |
CBC_MAC () | |
CBC_MAC (const byte *key, size_t length=SameKeyLengthAs< T >::DEFAULT_KEYLENGTH) | |
Static Public Member Functions | |
static std::string | StaticAlgorithmName () |
static size_t __cdecl | StaticGetValidKeyLength (size_t keylength) |
Static Public Attributes | |
static const int | MIN_KEYLENGTH = T::MIN_KEYLENGTH |
static const int | MAX_KEYLENGTH = T::MAX_KEYLENGTH |
static const int | DEFAULT_KEYLENGTH = T::DEFAULT_KEYLENGTH |
static const int | IV_REQUIREMENT = T::IV_REQUIREMENT |
static const int | IV_LENGTH = T::IV_LENGTH |