Crypto++
5.6.5
Free C++ class library of cryptographic schemes
|
Go to the documentation of this file.
6 #ifndef CRYPTOPP_SHARK_H
7 #define CRYPTOPP_SHARK_H
19 CRYPTOPP_CONSTEXPR
static const char *StaticAlgorithmName() {
return "SHARK-E";}
32 void UncheckedSetKey(
const byte *key,
unsigned int length,
const NameValuePairs ¶m);
35 unsigned int m_rounds;
41 class CRYPTOPP_NO_VTABLE Enc :
public Base
44 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
47 void InitForKeySetup();
50 static const byte sbox[256];
51 static const word64 cbox[8][256];
56 class CRYPTOPP_NO_VTABLE Dec :
public Base
59 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
62 static const byte sbox[256];
63 static const word64 cbox[8][256];
SHARK block cipher SHARK-E
Classes and functions for secure memory allocations.
Inherited by algorithms with fixed block size.
SHARK block cipher information.
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
Inherited by keyed algorithms with fixed key length.
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher.
Classes and functions for implementing secret key algorithms.
Crypto++ library namespace.
Library configuration file.
Interface for one direction (encryption or decryption) of a block cipher.
Inherited by algorithms with variable number of rounds.
Interface for retrieving values given their names.