XSalsa20 block cipher information. More...
Public Types | |
|
typedef SymmetricCipherFinal < ConcretePolicyHolder < XSalsa20_Policy, AdditiveCipherTemplate <> >, XSalsa20_Info > | Encryption |
| implements the SymmetricCipher interface | |
| typedef Encryption | Decryption |
| implements the SymmetricCipher interface | |
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. | |
XSalsa20 block cipher information.
XSalsa20 provides a variable number of rounds: 8, 12 or 20. The default number of rounds is 20.
Definition at line 76 of file salsa.h.
| 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.
| 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.
const int FixedKeyLength< N, IV_REQ, IV_L >::KEYLENGTH [static, inherited] |
const int FixedKeyLength< N, IV_REQ, IV_L >::MIN_KEYLENGTH [static, inherited] |
const int FixedKeyLength< N, IV_REQ, IV_L >::MAX_KEYLENGTH [static, inherited] |
const int FixedKeyLength< N, IV_REQ, IV_L >::DEFAULT_KEYLENGTH [static, inherited] |
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.
const int FixedKeyLength< N, IV_REQ, IV_L >::IV_LENGTH [static, inherited] |
1.6.1