Crypto++ 8.9
Free C++ class library of cryptographic schemes
|
ChaCha stream cipher information. More...
#include <chacha.h>
Static Public Member Functions | |
static const char * | StaticAlgorithmName () |
The algorithm name. | |
Static Public Member Functions inherited from VariableKeyLength< 32, 16, 32, 16, SimpleKeyingInterface::UNIQUE_IV, 8 > | |
static size_t | StaticGetValidKeyLength (size_t keylength) |
Provides a valid key length for the algorithm provided by a static function. | |
Additional Inherited Members | |
Static Public Attributes inherited from VariableKeyLength< 32, 16, 32, 16, SimpleKeyingInterface::UNIQUE_IV, 8 > | |
static const int | MIN_KEYLENGTH |
The minimum key length used by the algorithm provided as a constant. | |
static const int | MAX_KEYLENGTH |
The maximum key length used by the algorithm provided as a constant. | |
static const int | DEFAULT_KEYLENGTH |
The default key length used by the algorithm provided as a constant. | |
static const int | KEYLENGTH_MULTIPLE |
The key length multiple used by the algorithm provided as a constant. | |
static const int | IV_REQUIREMENT |
The default IV requirements for the algorithm provided as a constant. | |
static const int | IV_LENGTH |
The default initialization vector length for the algorithm provided as a constant. | |
|
inlinestatic |
The algorithm name.
StaticAlgorithmName returns the algorithm's name as a static member function.
Bernstein named the cipher variants ChaCha8, ChaCha12 and ChaCha20. More generally, Bernstein called the family ChaCha{r}. AlgorithmName() provides the exact name once rounds are set.