CBC_MAC< T > Class Template Reference

#include <cbcmac.h>

Inheritance diagram for CBC_MAC< T >:

MessageAuthenticationCodeImpl< CBC_MAC_Base, CBC_MAC< T > > SameKeyLengthAs< T > AlgorithmImpl< SimpleKeyingInterfaceImpl< CBC_MAC_Base, CBC_MAC< T > >, CBC_MAC< T > > SimpleKeyingInterfaceImpl< CBC_MAC_Base, CBC_MAC< T > > CBC_MAC_Base MessageAuthenticationCode HashTransformation SimpleKeyingInterface Algorithm Clonable 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:
Generated on Sat Dec 23 02:07:16 2006 for Crypto++ by  doxygen 1.5.1-p1