8 #ifndef CRYPTOPP_RIJNDAEL_H 9 #define CRYPTOPP_RIJNDAEL_H 15 # define CRYPTOPP_DISABLE_RIJNDAEL_ASM 23 CRYPTOPP_DLL
static const char * CRYPTOPP_API StaticAlgorithmName() {
return CRYPTOPP_RIJNDAEL_NAME;}
32 class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE Base :
public BlockCipherImpl<Rijndael_Info>
35 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
38 static void FillEncTable();
39 static void FillDecTable();
42 static const byte Se[256];
43 static const byte Sd[256];
45 static const word32 rcon[];
47 unsigned int m_rounds;
53 class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE Enc :
public Base
56 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
57 #if CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X86 58 size_t AdvancedProcessBlocks(
const byte *inBlocks,
const byte *xorBlocks, byte *outBlocks,
size_t length, word32 flags)
const;
64 class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE Dec :
public Base
67 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
68 #if CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE 69 size_t AdvancedProcessBlocks(
const byte *inBlocks,
const byte *xorBlocks, byte *outBlocks,
size_t length, word32 flags)
const;
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher...
Rijndael block cipher implementation details.
Classes and functions for secure memory allocations.
Inherited by block ciphers with fixed block size.
Classes and functions for implementing secret key algorithms.
Inherited by keyed algorithms with variable key length.
Rijndael block cipher information.
Provides class member functions to access BlockCipher constants.
Crypto++ library namespace.
Interface for retrieving values given their names.