7 #ifndef CRYPTOPP_SHACAL2_H 8 #define CRYPTOPP_SHACAL2_H 18 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "SHACAL-2";}
31 std::string AlgorithmProvider()
const;
32 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
37 static const word32 K[64];
42 class CRYPTOPP_NO_VTABLE Enc :
public Base
45 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
50 class CRYPTOPP_NO_VTABLE Dec :
public Base
53 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...
Interface for one direction (encryption or decryption) of a block cipher.
Classes and functions for secure memory allocations.
Inherited by algorithms with fixed block size.
Classes and functions for implementing secret key algorithms.
SHACAL2 block cipher information.
Inherited by keyed algorithms with variable key length.
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
Crypto++ library namespace.
Interface for retrieving values given their names.