Crypto++ 8.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

  L | block size of the cipher, in bytes
  D | default key length, in bytes
  N | minimum key length, in bytes
  M | maximum key length, in bytes

Since
  Crypto++ 6.0

Definition at line 52 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 | ( |  | ) |
| inline static

The algorithm name.

Returns
  the algorithm name

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

Definition at line 58 of file speck.h.

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

- speck.h