Salsa20_Policy Class Reference

Inheritance diagram for Salsa20_Policy:

AdditiveCipherConcretePolicy< word32, 16 > Salsa20_Info AdditiveCipherAbstractPolicy VariableKeyLength< 32, 16, 32, 16, SimpleKeyingInterface::UNIQUE_IV, 8 > List of all members.

Detailed Description

Definition at line 16 of file salsa.h.

Public Types

typedef word32 WordType

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

static const int BYTES_PER_ITERATION
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 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)
void CipherResynchronize (byte *keystreamBuffer, const byte *IV)
bool IsRandomAccess () const
void SeekToIteration (lword iterationCount)


The documentation for this class was generated from the following files:
Generated on Fri Jun 1 11:11:48 2007 for Crypto++ by  doxygen 1.5.2