PanamaCipherPolicy< B > Class Template Reference

#include <panama.h>

Inheritance diagram for PanamaCipherPolicy< B >:

AdditiveCipherConcretePolicy< WT, W, X, BASE > PanamaCipherInfo< B > Panama< B > VariableKeyLength< 32, 32, 64, 32, SimpleKeyingInterface::NOT_RESYNCHRONIZABLE > List of all members.

Detailed Description

template<class B>
class PanamaCipherPolicy< B >

_

Definition at line 116 of file panama.h.

Public Types

typedef WT WordType

Public Member Functions

unsigned int GetAlignment () const
unsigned int GetBytesPerIteration () const
unsigned int GetIterationsToBuffer () const
void WriteKeystream (byte *buffer, size_t iterationCount)
bool CanOperateKeystream () const

Static Public Member Functions

static const char * StaticAlgorithmName ()
static size_t __cdecl StaticGetValidKeyLength (size_t n)

Static Public Attributes

static const int MIN_KEYLENGTH
static const int MAX_KEYLENGTH
static const int DEFAULT_KEYLENGTH
static const int KEYLENGTH_MULTIPLE
static const int IV_REQUIREMENT
static const int IV_LENGTH

Protected Types

typedef word32 Stage [8]

Protected Member Functions

void CipherSetKey (const NameValuePairs &params, const byte *key, size_t length)
void OperateKeystream (KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount)
bool IsRandomAccess () const
void Reset ()
void Iterate (size_t count, const word32 *p=NULL, word32 *z=NULL, const word32 *y=NULL)

Protected Attributes

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

Static Protected Attributes

static const int STAGES = 32


The documentation for this class was generated from the following files:
Generated on Sat Dec 23 02:07:29 2006 for Crypto++ by  doxygen 1.5.1-p1