Crypto++ 8.9
Free C++ class library of cryptographic schemes
Public Member Functions | List of all members
MessageAuthenticationCodeFinal< BASE > Class Template Reference

Provides class member functions to key a message authentication code. More...

#include <seckey.h>

+ Inheritance diagram for MessageAuthenticationCodeFinal< BASE >:

Public Member Functions

 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< MessageAuthenticationCodeFinal< BASE >, MessageAuthenticationCodeImpl< BASE > >
ClonableClone () const
 Create a copy of this object.
 

Detailed Description

template<class BASE>
class MessageAuthenticationCodeFinal< BASE >

Provides class member functions to key a message authentication code.

Template Parameters
BASEa BlockCipherImpl derived class

A default implementation for MessageAuthenticationCode

Definition at line 370 of file seckey.h.

Constructor & Destructor Documentation

◆ MessageAuthenticationCodeFinal() [1/3]

template<class BASE >
MessageAuthenticationCodeFinal< BASE >::MessageAuthenticationCodeFinal ( )
inline

Construct a default MessageAuthenticationCodeFinal.

The message authentication code is not keyed.

Definition at line 375 of file seckey.h.

◆ MessageAuthenticationCodeFinal() [2/3]

template<class BASE >
MessageAuthenticationCodeFinal< BASE >::MessageAuthenticationCodeFinal ( const byte * key)
inline

Construct a BlockCipherFinal.

Parameters
keya byte array used to key the algorithm

key must be at least DEFAULT_KEYLENGTH in length. Internally, the function calls SimpleKeyingInterface::SetKey.

Definition at line 380 of file seckey.h.

◆ MessageAuthenticationCodeFinal() [3/3]

template<class BASE >
MessageAuthenticationCodeFinal< BASE >::MessageAuthenticationCodeFinal ( const byte * key,
size_t length )
inline

Construct a BlockCipherFinal.

Parameters
keya byte array used to key the algorithm
lengththe length of the byte array

key must be at least DEFAULT_KEYLENGTH in length. Internally, the function calls SimpleKeyingInterface::SetKey.

Definition at line 387 of file seckey.h.


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