6 #ifndef CRYPTOPP_SQUARE_H 7 #define CRYPTOPP_SQUARE_H 17 static const char *StaticAlgorithmName() {
return "Square";}
26 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
32 class CRYPTOPP_NO_VTABLE Enc :
public Base
35 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
37 static const byte Se[256];
38 static const word32 Te[4][256];
41 class CRYPTOPP_NO_VTABLE Dec :
public Base
44 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
46 static const byte Sd[256];
47 static const word32 Td[4][256];
Inherited by keyed algorithms with fixed key length.
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 block ciphers with fixed block size.
Classes and functions for implementing secret key algorithms.
Inherited by ciphers with fixed number of rounds.
Provides class member functions to access BlockCipher constants.
Crypto++ library namespace.
Interface for retrieving values given their names.