Security Scol plugin
Public Member Functions | List of all members
DMAC< T > Class Template Reference

DMAC message authentication code. More...

#include <dmac.h>

Inheritance diagram for DMAC< T >:
MessageAuthenticationCodeFinal< DMAC_Base< T > > ClonableImpl< DERIVED, BASE >

Public Member Functions

 DMAC ()
 Construct a DMAC.
 
 DMAC (const byte *key, size_t length=DMAC_Base< T >::DEFAULT_KEYLENGTH)
 Construct a DMAC.
 
- Public Member Functions inherited from MessageAuthenticationCodeFinal< DMAC_Base< T > >
 MessageAuthenticationCodeFinal ()
 Construct a default MessageAuthenticationCodeFinal.
 
 MessageAuthenticationCodeFinal (const byte *key)
 Construct a BlockCipherFinal.
 
 MessageAuthenticationCodeFinal (const byte *key, size_t length)
 Construct a BlockCipherFinal.
 
- Public Member Functions inherited from ClonableImpl< DERIVED, BASE >
ClonableClone () const
 Create a copy of this object.
 

Detailed Description

template<class T>
class DMAC< T >

DMAC message authentication code.

Template Parameters
Tclass derived from BlockCipherDocumentation
See also
CBC MAC for Real-Time Data Sources (08.15.1997) by Erez Petrank and Charles Rackoff
Since
Crypto++ 3.1

Definition at line 55 of file dmac.h.

Constructor & Destructor Documentation

◆ DMAC() [1/2]

template<class T >
DMAC< T >::DMAC ( )
inline

Construct a DMAC.

Definition at line 59 of file dmac.h.

◆ DMAC() [2/2]

template<class T >
DMAC< T >::DMAC ( const byte key,
size_t  length = DMAC_Base<T>::DEFAULT_KEYLENGTH 
)
inline

Construct a DMAC.

Parameters
keya byte array used to key the cipher
lengththe size of the byte array, in bytes

Definition at line 64 of file dmac.h.


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