6 #ifndef CRYPTOPP_TWOFISH_H 7 #define CRYPTOPP_TWOFISH_H 29 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
35 static const byte q[2][256];
45 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
51 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
FixedSizeSecBlock< word32, 4 *256 > m_s
#define CRYPTOPP_STATIC_CONSTEXPR
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher...
BlockCipherFinal< ENCRYPTION, Enc > Encryption
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
#define NAMESPACE_BEGIN(x)
FixedSizeSecBlock< word32, 40 > m_k
Twofish::Encryption TwofishEncryption
Classes and functions for secure memory allocations.
Inherited by algorithms with fixed block size.
Twofish block cipher information.
Classes and functions for implementing secret key algorithms.
BlockCipherFinal< DECRYPTION, Dec > Decryption
Twofish::Decryption TwofishDecryption
Inherited by algorithms with fixed number of rounds.
Inherited by keyed algorithms with variable key length.
#define CRYPTOPP_NO_VTABLE
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
Interface for retrieving values given their names.