Security Scol plugin
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
HermeticHashFunctionMAC< T_Hash, T_Info > Class Template Reference

MAC construction using a hermetic hash function. More...

#include <panama.h>

Inheritance diagram for HermeticHashFunctionMAC< T_Hash, T_Info >:
AlgorithmImpl< BASE, ALGORITHM_INFO > Weak::PanamaMAC< B >

Public Member Functions

void UncheckedSetKey (const byte *key, unsigned int length, const NameValuePairs &params)
 
void Restart ()
 
void Update (const byte *input, size_t length)
 
void TruncatedFinal (byte *digest, size_t digestSize)
 
unsigned int DigestSize () const
 
unsigned int BlockSize () const
 
unsigned int OptimalBlockSize () const
 
unsigned int OptimalDataAlignment () const
 
- Public Member Functions inherited from AlgorithmImpl< BASE, ALGORITHM_INFO >
std::string AlgorithmName () const
 The algorithm name.
 

Protected Member Functions

void KeyHash ()
 

Protected Attributes

T_Hash m_hash
 
bool m_keyed
 
SecByteBlock m_key
 

Additional Inherited Members

- Static Public Member Functions inherited from AlgorithmImpl< BASE, ALGORITHM_INFO >
static std::string CRYPTOPP_API StaticAlgorithmName ()
 The algorithm name.
 

Detailed Description

template<class T_Hash, class T_Info = T_Hash>
class HermeticHashFunctionMAC< T_Hash, T_Info >

MAC construction using a hermetic hash function.

Definition at line 67 of file panama.h.

Member Function Documentation

◆ BlockSize()

template<class T_Hash , class T_Info = T_Hash>
unsigned int HermeticHashFunctionMAC< T_Hash, T_Info >::BlockSize ( ) const
inline

Definition at line 101 of file panama.h.

◆ DigestSize()

template<class T_Hash , class T_Info = T_Hash>
unsigned int HermeticHashFunctionMAC< T_Hash, T_Info >::DigestSize ( ) const
inline

Definition at line 99 of file panama.h.

◆ KeyHash()

template<class T_Hash , class T_Info = T_Hash>
void HermeticHashFunctionMAC< T_Hash, T_Info >::KeyHash ( )
inlineprotected

Definition at line 109 of file panama.h.

◆ OptimalBlockSize()

template<class T_Hash , class T_Info = T_Hash>
unsigned int HermeticHashFunctionMAC< T_Hash, T_Info >::OptimalBlockSize ( ) const
inline

Definition at line 103 of file panama.h.

◆ OptimalDataAlignment()

template<class T_Hash , class T_Info = T_Hash>
unsigned int HermeticHashFunctionMAC< T_Hash, T_Info >::OptimalDataAlignment ( ) const
inline

Definition at line 105 of file panama.h.

◆ Restart()

template<class T_Hash , class T_Info = T_Hash>
void HermeticHashFunctionMAC< T_Hash, T_Info >::Restart ( )
inline

Definition at line 78 of file panama.h.

◆ TruncatedFinal()

template<class T_Hash , class T_Info = T_Hash>
void HermeticHashFunctionMAC< T_Hash, T_Info >::TruncatedFinal ( byte digest,
size_t  digestSize 
)
inline

Definition at line 91 of file panama.h.

◆ UncheckedSetKey()

template<class T_Hash , class T_Info = T_Hash>
void HermeticHashFunctionMAC< T_Hash, T_Info >::UncheckedSetKey ( const byte key,
unsigned int  length,
const NameValuePairs params 
)
inline

Definition at line 70 of file panama.h.

◆ Update()

template<class T_Hash , class T_Info = T_Hash>
void HermeticHashFunctionMAC< T_Hash, T_Info >::Update ( const byte input,
size_t  length 
)
inline

Definition at line 84 of file panama.h.

Member Data Documentation

◆ m_hash

template<class T_Hash , class T_Info = T_Hash>
T_Hash HermeticHashFunctionMAC< T_Hash, T_Info >::m_hash
protected

Definition at line 115 of file panama.h.

◆ m_key

template<class T_Hash , class T_Info = T_Hash>
SecByteBlock HermeticHashFunctionMAC< T_Hash, T_Info >::m_key
protected

Definition at line 117 of file panama.h.

◆ m_keyed

template<class T_Hash , class T_Info = T_Hash>
bool HermeticHashFunctionMAC< T_Hash, T_Info >::m_keyed
protected

Definition at line 116 of file panama.h.


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