Security Scol plugin
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Weak::PanamaHash< B > Class Template Reference

Panama hash. More...

#include <panama.h>

Inheritance diagram for Weak::PanamaHash< B >:
Panama< B > AlgorithmImpl< BASE, ALGORITHM_INFO >

Public Member Functions

 CRYPTOPP_CONSTANT (DIGESTSIZE=32)
 
unsigned int DigestSize () const
 
void TruncatedFinal (byte *hash, size_t size)
 
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName ()
 
std::string AlgorithmProvider () const
 
- Public Member Functions inherited from AlgorithmImpl< BASE, ALGORITHM_INFO >
std::string AlgorithmName () const
 The algorithm name.
 

Protected Member Functions

void Init ()
 
void HashEndianCorrectedBlock (const word32 *data)
 
size_t HashMultipleBlocks (const word32 *input, size_t length)
 
word32StateBuf ()
 
- Protected Member Functions inherited from Panama< B >
 CRYPTOPP_CONSTANT (STAGES=32)
 
std::string AlgorithmProvider () const
 
void Reset ()
 
void Iterate (size_t count, const word32 *p=NULLPTR, byte *output=NULLPTR, const byte *input=NULLPTR, KeystreamOperation operation=WRITE_KEYSTREAM)
 
- Protected Member Functions inherited from AlgorithmImpl< BASE, ALGORITHM_INFO >
std::string AlgorithmName () const
 The algorithm name.
 

Protected Attributes

FixedSizeSecBlock< word32, 8 > m_buf
 
- Protected Attributes inherited from Panama< B >
FixedSizeAlignedSecBlock< word32, 20+8 *32 > m_state
 

Additional Inherited Members

- Static Public Member Functions inherited from AlgorithmImpl< BASE, ALGORITHM_INFO >
static std::string CRYPTOPP_API StaticAlgorithmName ()
 The algorithm name.
 
- Protected Types inherited from Panama< B >
typedef word32 Stage[8]
 
- Static Protected Member Functions inherited from AlgorithmImpl< BASE, ALGORITHM_INFO >
static std::string CRYPTOPP_API StaticAlgorithmName ()
 The algorithm name.
 

Detailed Description

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

Panama hash.

See also
Panama Hash

Definition at line 44 of file panama.h.

Constructor & Destructor Documentation

◆ ~PanamaHash()

template<class B = LittleEndian>
virtual Weak::PanamaHash< B >::~PanamaHash ( )
inlinevirtual

Definition at line 48 of file panama.h.

◆ PanamaHash()

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

Definition at line 49 of file panama.h.

Member Function Documentation

◆ AlgorithmProvider()

template<class B = LittleEndian>
std::string Weak::PanamaHash< B >::AlgorithmProvider ( ) const
inline

Definition at line 53 of file panama.h.

◆ DigestSize()

template<class B = LittleEndian>
unsigned int Weak::PanamaHash< B >::DigestSize ( ) const
inline

Definition at line 50 of file panama.h.

◆ HashEndianCorrectedBlock()

template<class B = LittleEndian>
void Weak::PanamaHash< B >::HashEndianCorrectedBlock ( const word32 data)
inlineprotected

Definition at line 57 of file panama.h.

◆ HashMultipleBlocks()

template<class B = LittleEndian>
size_t PanamaHash::HashMultipleBlocks ( const word32 input,
size_t  length 
)
protected

Definition at line 433 of file panama.cpp.

◆ Init()

template<class B = LittleEndian>
void Weak::PanamaHash< B >::Init ( )
inlineprotected

Definition at line 56 of file panama.h.

◆ StateBuf()

template<class B = LittleEndian>
word32 * Weak::PanamaHash< B >::StateBuf ( )
inlineprotected

Definition at line 59 of file panama.h.

◆ StaticAlgorithmName()

template<class B = LittleEndian>
CRYPTOPP_STATIC_CONSTEXPR const char * Weak::PanamaHash< B >::StaticAlgorithmName ( )
inline

Definition at line 52 of file panama.h.

◆ TruncatedFinal()

template<class B = LittleEndian>
void PanamaHash::TruncatedFinal ( byte hash,
size_t  size 
)

Definition at line 440 of file panama.cpp.

Member Data Documentation

◆ m_buf

template<class B = LittleEndian>
FixedSizeSecBlock<word32, 8> Weak::PanamaHash< B >::m_buf
protected

Definition at line 61 of file panama.h.


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