- Main Page
- Namespaces
- Classes
- Files

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# CBC_MAC< T > Class Template Reference

`#include <cbcmac.h>`

Inheritance diagram for CBC_MAC< T >:

List of all members.

## Detailed Description

### template<class T>
class CBC_MAC< T >

CBC-MAC

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

The documentation for this class was generated from the following file:

- cbcmac.h