6 #ifndef CRYPTOPP_GOST_H 7 #define CRYPTOPP_GOST_H 31 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
34 static void PrecalculateSTable();
36 static const byte sBox[8][16];
48 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
56 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
GOST block cipher encryption operation.
Inherited by keyed algorithms with fixed key length.
BlockCipherFinal< ENCRYPTION, Enc > Encryption
#define CRYPTOPP_STATIC_CONSTEXPR
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher...
static volatile bool sTableCalculated
#define NAMESPACE_BEGIN(x)
GOST block cipher default operation.
FixedSizeSecBlock< word32, 8 > m_key
GOST::Encryption GOSTEncryption
Classes and functions for secure memory allocations.
Inherited by algorithms with fixed block size.
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
Classes and functions for implementing secret key algorithms.
GOST block cipher information.
#define CRYPTOPP_NO_VTABLE
BlockCipherFinal< DECRYPTION, Dec > Decryption
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
GOST block cipher decryption operation.
GOST::Decryption GOSTDecryption
Interface for retrieving values given their names.