Crypto++ 8.7
Free C++ class library of cryptographic schemes
|
SPECK 64-bit block cipher. More...
#include <speck.h>
Classes | |
class | Base |
SPECK64 block cipher base implementation. More... | |
class | Dec |
SPECK64 decryption transformation. More... | |
class | Enc |
SPECK64 encryption transformation. More... | |
Public Types | |
typedef BlockCipherFinal< ENCRYPTION, Enc > | Encryption |
typedef BlockCipherFinal< DECRYPTION, Dec > | Decryption |
Public Types inherited from BlockCipherDocumentation | |
typedef BlockCipher | Encryption |
implements the BlockCipher interface More... | |
typedef BlockCipher | Decryption |
implements the BlockCipher interface More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from SPECK_Info< 8, 12, 12, 16 > | |
static const std::string | StaticAlgorithmName () |
The algorithm name. More... | |
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. More... | |
Static Public Attributes inherited from FixedBlockSize< L > | |
static const int | BLOCKSIZE |
The block size of the algorithm provided as a constant. More... | |
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. More... | |
static const int | MAX_KEYLENGTH =M |
The maximum key length used by the algorithm provided as a constant. More... | |
static const int | DEFAULT_KEYLENGTH =D |
The default key length used by the algorithm provided as a constant. More... | |
static const int | KEYLENGTH_MULTIPLE =Q |
The key length multiple used by the algorithm provided as a constant. More... | |
static const int | IV_REQUIREMENT =IV_REQ |
The default IV requirements for the algorithm provided as a constant. More... | |
static const int | IV_LENGTH =IV_L |
The default initialization vector length for the algorithm provided as a constant. More... | |
SPECK 64-bit block cipher.
Speck is a block cipher designed by Ray Beaulieu, Douglas Shors, Jason Smith, Stefan Treatman-Clark, Bryan Weeks and Louis Wingers.
SPECK64 provides 64-bit block size. The valid key sizes are 96-bit and 128-bit.
typedef BlockCipherFinal<ENCRYPTION, Enc> SPECK64::Encryption |
typedef BlockCipherFinal<DECRYPTION, Dec> SPECK64::Decryption |