Crypto++
Public Member Functions | Static Public Member Functions | Static Public Attributes
CBC_MAC Class Reference

CBC-MAC More...

#include <cbcmac.h>

Inheritance diagram for CBC_MAC:
MessageAuthenticationCodeImpl< CBC_MAC_Base, CBC_MAC< T > > SameKeyLengthAs< T >

List of all members.

Public Member Functions

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

Static Public Member Functions

static std::string StaticAlgorithmName ()
static size_t 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

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 CMAC or DMAC.


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