Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes

Salsa20_Policy Class Reference

Inheritance diagram for Salsa20_Policy:
AdditiveCipherConcretePolicy< word32, 16 > AdditiveCipherAbstractPolicy XSalsa20_Policy

List of all members.

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 Attributes

static const int BYTES_PER_ITERATION

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, size_t length)
bool CipherIsRandomAccess () const
void SeekToIteration (lword iterationCount)

Protected Attributes

< word32, 16 > 
int m_rounds

Detailed Description

Definition at line 16 of file salsa.h.

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