6 #ifndef CRYPTOPP_SHARK_H 7 #define CRYPTOPP_SHARK_H 18 static const char *StaticAlgorithmName() {
return "SHARK-E";}
27 void UncheckedSetKey(
const byte *key,
unsigned int length,
const NameValuePairs ¶m);
30 unsigned int m_rounds;
34 class CRYPTOPP_NO_VTABLE Enc :
public Base
37 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
40 void InitForKeySetup();
43 static const byte sbox[256];
44 static const word64 cbox[8][256];
47 class CRYPTOPP_NO_VTABLE Dec :
public Base
50 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
53 static const byte sbox[256];
54 static const word64 cbox[8][256];
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher...
Library configuration file.
Interface for one direction (encryption or decryption) of a block cipher.
Classes and functions for secure memory allocations.
Inherited by block ciphers with fixed block size.
Inherited by ciphers with variable number of rounds.
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.