6 #ifndef CRYPTOPP_CAST_H 7 #define CRYPTOPP_CAST_H 39 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
51 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
59 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
84 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
85 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
89 static const unsigned int t_r[8][24];
91 static void Omega(
int i,
word32 kappa[8]);
BlockCipherFinal< DECRYPTION, Base > Decryption
CAST128 block cipher default operation.
#define CRYPTOPP_STATIC_CONSTEXPR
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher...
FixedSizeSecBlock< word32, 32 > K
#define NAMESPACE_BEGIN(x)
CAST256::Encryption CAST256Encryption
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
Classes and functions for secure memory allocations.
Inherited by algorithms with fixed block size.
CAST128::Decryption CAST128Decryption
BlockCipherFinal< ENCRYPTION, Enc > Encryption
Classes and functions for implementing secret key algorithms.
BlockCipherFinal< ENCRYPTION, Base > Encryption
CAST128::Encryption CAST128Encryption
Inherited by keyed algorithms with variable key length.
BlockCipherFinal< DECRYPTION, Dec > Decryption
#define CRYPTOPP_NO_VTABLE
CAST256 block cipher information.
CAST256::Decryption CAST256Decryption
CAST128 block cipher decryption operation.
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
CAST128 block cipher information.
CAST128 block cipher encryption operation.
CAST256 block cipher default operation.
Interface for retrieving values given their names.
FixedSizeSecBlock< word32, 8 *12 > K