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

CHAM 128-bit block cipher. More...

#include <cham.h>

+ Inheritance diagram for CHAM128:

Classes

class  Base
 CHAM block cipher transformation functions. More...
 
class  Dec
 Decryption transformation. More...
 
class  Enc
 Encryption transformation. More...
 

Public Types

typedef BlockCipherFinal< ENCRYPTION, EncEncryption
 CHAM128 encryption. More...
 
typedef BlockCipherFinal< DECRYPTION, DecDecryption
 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...
 

Detailed Description

CHAM 128-bit block cipher.

CHAM128 provides 128-bit block size. The valid key size is 128-bit and 256-bit.

Note
Crypto++ provides a byte oriented implementation
See also
CHAM64, CHAM, CHAM: A Family of Lightweight Block Ciphers for Resource-Constrained Devices
Since
Crypto++ 8.0

Definition at line 121 of file cham.h.

Member Typedef Documentation

◆ Encryption

CHAM128 encryption.

Definition at line 167 of file cham.h.

◆ Decryption

CHAM128 decryption.

Definition at line 169 of file cham.h.


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