Crypto++ 8.9
Free C++ class library of cryptographic schemes
|
SPECK 128-bit block cipher. More...
#include <speck.h>
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, Enc > | Encryption |
typedef BlockCipherFinal< DECRYPTION, Dec > | Decryption |
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. | |
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.
typedef BlockCipherFinal<ENCRYPTION, Enc> SPECK128::Encryption |
typedef BlockCipherFinal<DECRYPTION, Dec> SPECK128::Decryption |