Security Scol plugin
|
ChaCha stream cipher information. More...
#include <chacha.h>
Static Public Member Functions | |
static const char * | StaticAlgorithmName () |
The algorithm name. | |
Additional Inherited Members | |
Public Member Functions inherited from VariableKeyLength< 32, 16, 32, 16, SimpleKeyingInterface::UNIQUE_IV, 8 > | |
CRYPTOPP_CONSTANT (MIN_KEYLENGTH=N) | |
The minimum key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (MAX_KEYLENGTH=M) | |
The maximum key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (DEFAULT_KEYLENGTH=D) | |
The default key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (KEYLENGTH_MULTIPLE=Q) | |
The key length multiple used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (IV_REQUIREMENT=IV_REQ) | |
The default IV requirements for the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (IV_LENGTH=IV_L) | |
The default initialization vector length for the algorithm provided as a constant. | |
CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API | StaticGetValidKeyLength (size_t keylength) |
Provides a valid key length for the algorithm provided by a static function. | |
|
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.