7 #ifndef CRYPTOPP_MARS_H 8 #define CRYPTOPP_MARS_H 18 static const char *StaticAlgorithmName() {
return "MARS";}
27 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
30 static const word32 Sbox[512];
35 class CRYPTOPP_NO_VTABLE Enc :
public Base
38 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
41 class CRYPTOPP_NO_VTABLE Dec :
public Base
44 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher...
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.
Provides class member functions to access BlockCipher constants.
Crypto++ library namespace.
Interface for retrieving values given their names.