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

IETF XChaCha20 stream cipher. More...

#include <chacha.h>

Inheritance diagram for XChaCha20:
XChaCha20_Info SymmetricCipherDocumentation FixedKeyLength< 32, SimpleKeyingInterface::UNIQUE_IV, 24 >

Public Types

typedef SymmetricCipherFinal< ConcretePolicyHolder< XChaCha20_Policy, AdditiveCipherTemplate<> >, XChaCha20_InfoEncryption
 XChaCha Encryption.
 
typedef Encryption Decryption
 XChaCha 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 FixedKeyLength< 32, SimpleKeyingInterface::UNIQUE_IV, 24 >
 CRYPTOPP_CONSTANT (KEYLENGTH=N)
 The default key length used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (MIN_KEYLENGTH=N)
 The minimum key length used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (MAX_KEYLENGTH=N)
 The maximum key length used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (DEFAULT_KEYLENGTH=N)
 The default key length 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 IV length used by the algorithm provided as a constant.
 
CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API StaticGetValidKeyLength (size_t keylength)
 The default key length for the algorithm provided by a static function.
 
- Static Public Member Functions inherited from XChaCha20_Info
static const char * StaticAlgorithmName ()
 The algorithm name.
 

Detailed Description

IETF XChaCha20 stream cipher.

This is the IETF's XChaCha from draft-arciszewski-xchacha.

See also
XChaCha: eXtended-nonce ChaCha and AEAD_XChaCha20_Poly1305 (rev. 03), How to handle block counter wrap in IETF's ChaCha algorithm? and Issue 790, ChaCha20 results when counter block wraps.
Since
Crypto++ 8.1

Definition at line 213 of file chacha.h.

Member Typedef Documentation

◆ Decryption

XChaCha Decryption.

Definition at line 218 of file chacha.h.

◆ Encryption

XChaCha Encryption.

Definition at line 216 of file chacha.h.


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