10 #ifndef CRYPTOPP_CHAM_H 11 #define CRYPTOPP_CHAM_H 18 #if (CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X86) 19 # define CRYPTOPP_CHAM_ADVANCED_PROCESS_BLOCKS 1 24 #if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x5120) 25 # undef CRYPTOPP_CHAM_ADVANCED_PROCESS_BLOCKS 76 void UncheckedSetKey(
const byte *userKey,
unsigned int keyLength,
const NameValuePairs ¶ms);
77 std::string AlgorithmProvider()
const;
88 class CRYPTOPP_NO_VTABLE
Enc :
public Base 91 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
93 #if CRYPTOPP_CHAM_ADVANCED_PROCESS_BLOCKS 94 size_t AdvancedProcessBlocks(
const byte *inBlocks,
const byte *xorBlocks, byte *outBlocks,
size_t length, word32 flags)
const;
105 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
107 #if CRYPTOPP_CHAM_ADVANCED_PROCESS_BLOCKS 108 size_t AdvancedProcessBlocks(
const byte *inBlocks,
const byte *xorBlocks, byte *outBlocks,
size_t length, word32 flags)
const;
135 void UncheckedSetKey(
const byte *userKey,
unsigned int keyLength,
const NameValuePairs ¶ms);
136 std::string AlgorithmProvider()
const;
150 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
152 #if CRYPTOPP_CHAM_ADVANCED_PROCESS_BLOCKS 153 size_t AdvancedProcessBlocks(
const byte *inBlocks,
const byte *xorBlocks, byte *outBlocks,
size_t length, word32 flags)
const;
164 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
166 #if CRYPTOPP_CHAM_ADVANCED_PROCESS_BLOCKS 167 size_t AdvancedProcessBlocks(
const byte *inBlocks,
const byte *xorBlocks, byte *outBlocks,
size_t length, word32 flags)
const;
180 #endif // CRYPTOPP_CHAM_H Inherited by keyed algorithms with fixed key length.
Classes for working with NameValuePairs.
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher...
Encryption transformation.
Encryption transformation.
Library configuration file.
CHAM block cipher information.
CHAM 128-bit block cipher.
Classes and functions for secure memory allocations.
Inherited by algorithms with fixed block size.
static const std::string StaticAlgorithmName()
The algorithm name.
CHAM block cipher information.
Classes and functions for implementing secret key algorithms.
Encryption transformation.
Inherited by keyed algorithms with variable key length.
CHAM 64-bit block cipher.
CHAM block cipher transformation functions.
static const std::string StaticAlgorithmName()
The algorithm name.
Encryption transformation.
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
Crypto++ library namespace.
CHAM block cipher transformation functions.
Interface for retrieving values given their names.