Crypto++
5.6.4
Free C++ class library of cryptographic schemes
|
Go to the documentation of this file.
6 #ifndef CRYPTOPP_MARS_H
7 #define CRYPTOPP_MARS_H
18 CRYPTOPP_CONSTEXPR
static const char *StaticAlgorithmName() {
return "MARS";}
29 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
32 static const word32 Sbox[512];
37 class CRYPTOPP_NO_VTABLE Enc :
public Base
40 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
43 class CRYPTOPP_NO_VTABLE Dec :
public Base
46 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
Classes and functions for secure memory allocations.
Inherited by algorithms with fixed block size.
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher.
Classes and functions for implementing secret key algorithms.
MARS block cipher information.
Crypto++ library namespace.
Interface for retrieving values given their names.
Inherited by keyed algorithms with variable key length.