1 #ifndef CRYPTOPP_MARS_H
2 #define CRYPTOPP_MARS_H
10 NAMESPACE_BEGIN(CryptoPP)
15 static const char *StaticAlgorithmName() {
return "MARS";}
24 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
27 static const word32 Sbox[512];
32 class CRYPTOPP_NO_VTABLE Enc :
public Base
35 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
38 class CRYPTOPP_NO_VTABLE Dec :
public Base
41 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
These objects usually should not be used directly. See CipherModeDocumentation instead.
to be inherited by block ciphers with fixed block size
support query of variable key length, template parameters are default, min, max, multiple (default mu...
interface for retrieving values given their names