Security Scol plugin
Public Types | List of all members
ChaCha Struct Reference

ChaCha stream cipher. More...

#include <chacha.h>

Inheritance diagram for ChaCha:
ChaCha_Info SymmetricCipherDocumentation VariableKeyLength< 32, 16, 32, 16, SimpleKeyingInterface::UNIQUE_IV, 8 >

Public Types

typedef SymmetricCipherFinal< ConcretePolicyHolder< ChaCha_Policy, AdditiveCipherTemplate<> >, ChaCha_InfoEncryption
 ChaCha Encryption.
 
typedef Encryption Decryption
 ChaCha Decryption.
 
- Public Types inherited from SymmetricCipherDocumentation
typedef SymmetricCipher Encryption
 implements the SymmetricCipher interface
 
typedef SymmetricCipher Decryption
 implements the SymmetricCipher interface
 

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.
 
- Static Public Member Functions inherited from ChaCha_Info
static const char * StaticAlgorithmName ()
 The algorithm name.
 

Detailed Description

ChaCha stream cipher.

This is Bernstein and ECRYPT's ChaCha. It is slightly different from the IETF's version of ChaCha called ChaChaTLS.

See also
ChaCha, a variant of Salsa20 (2008.01.28).
Since
Crypto++ 5.6.4

Definition at line 86 of file chacha.h.

Member Typedef Documentation

◆ Decryption

ChaCha Decryption.

Definition at line 91 of file chacha.h.

◆ Encryption

ChaCha Encryption.

Definition at line 89 of file chacha.h.


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