XSalsa20_Info Class Reference

XSalsa20 block cipher information. More...

Inheritance diagram for XSalsa20_Info:
FixedKeyLength< 32, SimpleKeyingInterface::UNIQUE_IV, 24 > XSalsa20

List of all members.

Static Public Member Functions

static const char * StaticAlgorithmName ()
static size_t StaticGetValidKeyLength (size_t keylength)
 The default key length for the cipher provided by a static function.

Static Public Attributes

static const int KEYLENGTH
 The default key length used by the cipher provided as a constant.
static const int MIN_KEYLENGTH
 The minimum key length used by the cipher provided as a constant.
static const int MAX_KEYLENGTH
 The maximum key length used by the cipher provided as a constant.
static const int DEFAULT_KEYLENGTH
 The default key length used by the cipher provided as a constant.
static const int IV_REQUIREMENT
 The default IV requirements for the cipher provided as a constant.
static const int IV_LENGTH
 The default IV length used by the cipher provided as a constant.

Detailed Description

XSalsa20 block cipher information.

Definition at line 57 of file salsa.h.


Member Function Documentation

static size_t FixedKeyLength< N, IV_REQ, IV_L >::StaticGetValidKeyLength ( size_t  keylength  )  [inline, static, inherited]

The default key length for the cipher provided by a static function.

Parameters:
keylength the size of the key, in bytes

The default implementation returns KEYLENGTH. keylength is unused in the default implementation.

Definition at line 139 of file seckey.h.

References FixedKeyLength< N, IV_REQ, IV_L >::KEYLENGTH.


Member Data Documentation

const int FixedKeyLength< N, IV_REQ, IV_L >::KEYLENGTH [static, inherited]

The default key length used by the cipher provided as a constant.

KEYLENGTH is provided in bytes, not bits

Definition at line 118 of file seckey.h.

const int FixedKeyLength< N, IV_REQ, IV_L >::MIN_KEYLENGTH [static, inherited]

The minimum key length used by the cipher provided as a constant.

MIN_KEYLENGTH is provided in bytes, not bits

Definition at line 121 of file seckey.h.

const int FixedKeyLength< N, IV_REQ, IV_L >::MAX_KEYLENGTH [static, inherited]

The maximum key length used by the cipher provided as a constant.

MAX_KEYLENGTH is provided in bytes, not bits

Definition at line 124 of file seckey.h.

const int FixedKeyLength< N, IV_REQ, IV_L >::DEFAULT_KEYLENGTH [static, inherited]

The default key length used by the cipher provided as a constant.

DEFAULT_KEYLENGTH is provided in bytes, not bits

Definition at line 127 of file seckey.h.

const int FixedKeyLength< N, IV_REQ, IV_L >::IV_REQUIREMENT [static, inherited]

The default IV requirements for the cipher provided as a constant.

The default value is NOT_RESYNCHRONIZABLE. See IV_Requirement in cryptlib.h for allowed values.

Definition at line 131 of file seckey.h.

const int FixedKeyLength< N, IV_REQ, IV_L >::IV_LENGTH [static, inherited]

The default IV length used by the cipher provided as a constant.

IV_LENGTH is provided in bytes, not bits. The default implementation uses 0.

Definition at line 134 of file seckey.h.


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

Generated on 24 Mar 2016 for Crypto++ by  doxygen 1.6.1