Crypto++  7.0
Free C++ class library of cryptographic schemes
Static Public Member Functions | List of all members
SPECK_Info< L, D, N, M > Struct Template Reference

SPECK block cipher information. More...

+ Inheritance diagram for SPECK_Info< L, D, N, M >:

Static Public Member Functions

static const std::string StaticAlgorithmName ()
 The algorithm name. More...
 
- Static Public Member Functions inherited from VariableKeyLength< D, N, M >
static size_t StaticGetValidKeyLength (size_t keylength)
 Provides a valid key length for the algorithm provided by a static function. More...
 

Additional Inherited Members

- Static Public Attributes inherited from FixedBlockSize< L >
static const int BLOCKSIZE
 The block size of the algorithm provided as a constant.
 
- Static Public Attributes inherited from VariableKeyLength< D, N, M >
static const int MIN_KEYLENGTH
 The minimum key length used by the algorithm provided as a constant. More...
 
static const int MAX_KEYLENGTH
 The maximum key length used by the algorithm provided as a constant. More...
 
static const int DEFAULT_KEYLENGTH
 The default key length used by the algorithm provided as a constant. More...
 
static const int KEYLENGTH_MULTIPLE
 The key length multiple used by the algorithm provided as a constant. More...
 
static const int IV_REQUIREMENT
 The default IV requirements for the algorithm provided as a constant. More...
 
static const int IV_LENGTH
 The default initialization vector length for the algorithm provided as a constant. More...
 

Detailed Description

template<unsigned int L, unsigned int D, unsigned int N, unsigned int M>
struct SPECK_Info< L, D, N, M >

SPECK block cipher information.

Template Parameters
Lblock size of the cipher, in bytes
Ddefault key length, in bytes
Nminimum key length, in bytes
Mmaximum key length, in bytes
Since
Crypto++ 6.0

Definition at line 48 of file speck.h.

Member Function Documentation

◆ StaticAlgorithmName()

template<unsigned int L, unsigned int D, unsigned int N, unsigned int M>
static const std::string SPECK_Info< L, D, N, M >::StaticAlgorithmName ( )
inlinestatic

The algorithm name.

Returns
the algorithm name

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

Definition at line 54 of file speck.h.


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