Security Scol plugin
Static Public Member Functions | List of all members
ChaChaTLS_Info Struct Reference

IETF ChaCha20 stream cipher information. More...

#include <chacha.h>

Inheritance diagram for ChaChaTLS_Info:
FixedKeyLength< 32, SimpleKeyingInterface::UNIQUE_IV, 12 > FixedRounds< 20 > ChaChaTLS

Static Public Member Functions

static const char * StaticAlgorithmName ()
 The algorithm name.
 

Additional Inherited Members

- Public Member Functions inherited from FixedKeyLength< 32, SimpleKeyingInterface::UNIQUE_IV, 12 >
 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.
 
- Public Member Functions inherited from FixedRounds< 20 >
 CRYPTOPP_CONSTANT (ROUNDS=R)
 The number of rounds for the algorithm provided as a constant.
 

Detailed Description

IETF ChaCha20 stream cipher information.

Since
Crypto++ 8.1

Definition at line 98 of file chacha.h.

Member Function Documentation

◆ StaticAlgorithmName()

static const char * ChaChaTLS_Info::StaticAlgorithmName ( )
inlinestatic

The algorithm name.

Returns
the algorithm name

StaticAlgorithmName returns the algorithm's name as a static member function.

This is the IETF's variant of Bernstein's ChaCha from RFC

  1. IETF ChaCha is called ChaChaTLS in the Crypto++ library. It is slightly different from Bernstein's implementation.

Definition at line 107 of file chacha.h.


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