Crypto++ 8.9
Free C++ class library of cryptographic schemes
Weak::PanamaMAC< B > Class Template Reference

Panama message authentication code. More...

#include <panama.h>

Inheritance diagram for Weak::PanamaMAC< B >:

Public Member Functions

 PanamaMAC (const byte *key, unsigned int length)
Public Member Functions inherited from HermeticHashFunctionMAC< PanamaHash< LittleEndian > >
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< SimpleKeyingInterfaceImpl< TwoBases< MessageAuthenticationCode, VariableKeyLength< 32, 0, INT_MAX > > >, PanamaHash< LittleEndian > >
std::string AlgorithmName () const
 The algorithm name.
Public Member Functions inherited from SimpleKeyingInterfaceImpl< TwoBases< MessageAuthenticationCode, VariableKeyLength< 32, 0, INT_MAX > > >
size_t MinKeyLength () const
 The minimum key length used by the algorithm.
size_t MaxKeyLength () const
 The maximum key length used by the algorithm.
size_t DefaultKeyLength () const
 The default key length used by the algorithm.
size_t GetValidKeyLength (size_t keylength) const
 Provides a valid key length for the algorithm.
SimpleKeyingInterface::IV_Requirement IVRequirement () const
 The default IV requirements for the algorithm.
unsigned int IVSize () const
 The initialization vector length for the algorithm.

Additional Inherited Members

Static Public Member Functions inherited from AlgorithmImpl< SimpleKeyingInterfaceImpl< TwoBases< MessageAuthenticationCode, VariableKeyLength< 32, 0, INT_MAX > > >, PanamaHash< LittleEndian > >
static std::string StaticAlgorithmName ()
 The algorithm name.

Detailed Description

template<class B = LittleEndian>
class Weak::PanamaMAC< B >

Panama message authentication code.

Definition at line 123 of file panama.h.

Constructor & Destructor Documentation

◆ PanamaMAC() [1/2]

template<class B = LittleEndian>
Weak::PanamaMAC< B >::PanamaMAC ( )
inline

Definition at line 126 of file panama.h.

◆ PanamaMAC() [2/2]

template<class B = LittleEndian>
Weak::PanamaMAC< B >::PanamaMAC ( const byte * key,
unsigned int length )
inline

Definition at line 127 of file panama.h.


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