CBC_MAC< T > Class Template Reference

CBC-MAC More...

#include <cbcmac.h>

Inheritance diagram for CBC_MAC< T >:

MessageAuthenticationCodeImpl< CBC_MAC_Base, CBC_MAC< T > > SameKeyLengthAs< T > AlgorithmImpl< SimpleKeyingInterfaceImpl< BASE, INFO >, INFO >

List of all members.

Public Member Functions

 CBC_MAC (const byte *key, size_t length=SameKeyLengthAs< T >::DEFAULT_KEYLENGTH)
std::string AlgorithmName () const

Static Public Member Functions

static std::string StaticAlgorithmName ()
static size_t __cdecl StaticGetValidKeyLength (size_t keylength)

Static Public Attributes

static const int MIN_KEYLENGTH
static const int MAX_KEYLENGTH
static const int DEFAULT_KEYLENGTH
static const int IV_REQUIREMENT
static const int IV_LENGTH


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.


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

Generated on Mon Oct 27 02:45:38 2008 for Crypto++ by  doxygen 1.5.7.1