Crypto++ 8.9
Free C++ class library of cryptographic schemes
Classes | Public Types | List of all members
SPECK128 Class Reference

SPECK 128-bit block cipher. More...

#include <speck.h>

+ Inheritance diagram for SPECK128:

Classes

class  Base
 SPECK128 block cipher base implementation. More...
 
class  Dec
 SPECK128 decryption transformation. More...
 
class  Enc
 SPECK128 encryption transformation. More...
 

Public Types

typedef BlockCipherFinal< ENCRYPTION, EncEncryption
 
typedef BlockCipherFinal< DECRYPTION, DecDecryption
 
- Public Types inherited from BlockCipherDocumentation
typedef BlockCipher Encryption
 implements the BlockCipher interface
 
typedef BlockCipher Decryption
 implements the BlockCipher interface
 

Additional Inherited Members

- Static Public Member Functions inherited from SPECK_Info< 16, 16, 16, 32 >
static const std::string StaticAlgorithmName ()
 The algorithm name.
 
- Static Public Member Functions inherited from VariableKeyLength< D, N, M, Q, IV_REQ, IV_L >
static size_t StaticGetValidKeyLength (size_t keylength)
 Provides a valid key length for the algorithm provided by a static function.
 
- 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, Q, IV_REQ, IV_L >
static const int MIN_KEYLENGTH =N
 The minimum key length used by the algorithm provided as a constant.
 
static const int MAX_KEYLENGTH =M
 The maximum key length used by the algorithm provided as a constant.
 
static const int DEFAULT_KEYLENGTH =D
 The default key length used by the algorithm provided as a constant.
 
static const int KEYLENGTH_MULTIPLE =Q
 The key length multiple used by the algorithm provided as a constant.
 
static const int IV_REQUIREMENT =IV_REQ
 The default IV requirements for the algorithm provided as a constant.
 
static const int IV_LENGTH =IV_L
 The default initialization vector length for the algorithm provided as a constant.
 

Detailed Description

SPECK 128-bit block cipher.

Speck is a block cipher designed by Ray Beaulieu, Douglas Shors, Jason Smith, Stefan Treatman-Clark, Bryan Weeks and Louis Wingers.

SPECK128 provides 128-bit block size. The valid key sizes are 128-bit, 192-bit and 256-bit.

See also
SPECK64, SPECK128, The SIMON and SPECK Families of Lightweight Block Ciphers, The Simon and Speck GitHub, SPECK on the Crypto++ wiki
Since
Crypto++ 6.0

Definition at line 145 of file speck.h.

Member Typedef Documentation

◆ Encryption

Definition at line 200 of file speck.h.

◆ Decryption

Definition at line 201 of file speck.h.


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