Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PanamaHash< B > Class Template Reference

#include <panama.h>

Inheritance diagram for PanamaHash< B >:

Panama< B > IteratedHash< word32, NativeByteOrder, 32 > IteratedHashBase2< word32, NativeByteOrder, HashTransformation > PanamaMAC_Base< B > List of all members.

Detailed Description

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

Panama Hash

Definition at line 29 of file panama.h.

Public Types

enum  { DIGESTSIZE = 32 }
typedef NativeByteOrder ByteOrderClass
typedef IteratedHashBase<
word32, HashTransformation
>::HashWordType 
HashWordType

Public Member Functions

unsigned int DigestSize () const
void TruncatedFinal (byte *hash, unsigned int size)

Static Public Member Functions

void CorrectEndianess (HashWordType *out, const HashWordType *in, unsigned int byteCount)

Protected Types

typedef word32 Stage [8]
enum  { STAGES = 32 }

Protected Member Functions

void Init ()
void vTransform (const word32 *data)
unsigned int HashMultipleBlocks (const word32 *input, unsigned int length)
void Reset ()
void Iterate (unsigned int count, const word32 *p=NULL, word32 *z=NULL, const word32 *y=NULL)
unsigned int BlockSize () const
void HashBlock (const HashWordType *input)
virtual void vTransform (const HashWordType *data)=0

Protected Attributes

FixedSizeSecBlock< word32,
17 *2+STAGES *sizeof(Stage) 
m_state )
unsigned int m_bstart


The documentation for this class was generated from the following files:
Generated on Wed Jul 28 08:07:14 2004 for Crypto++ by doxygen 1.3.7