Crypto++ 8.7
Free C++ class library of cryptographic schemes
|
CHAM 128-bit block cipher. More...
#include <cham.h>
Classes | |
class | Base |
CHAM block cipher transformation functions. More... | |
class | Dec |
Decryption transformation. More... | |
class | Enc |
Encryption transformation. More... | |
Public Types | |
typedef BlockCipherFinal< ENCRYPTION, Enc > | Encryption |
CHAM128 encryption. More... | |
typedef BlockCipherFinal< DECRYPTION, Dec > | Decryption |
CHAM128 decryption. More... | |
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 CHAM128_Info | |
static const std::string | StaticAlgorithmName () |
The algorithm name. More... | |
Static Public Member Functions inherited from VariableKeyLength< 16, 16, 32, 16 > | |
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< 16 > | |
static const int | BLOCKSIZE |
The block size of the algorithm provided as a constant. More... | |
Static Public Attributes inherited from VariableKeyLength< 16, 16, 32, 16 > | |
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... | |
CHAM 128-bit block cipher.
CHAM128 provides 128-bit block size. The valid key size is 128-bit and 256-bit.
typedef BlockCipherFinal<ENCRYPTION, Enc> CHAM128::Encryption |
typedef BlockCipherFinal<DECRYPTION, Dec> CHAM128::Decryption |