6 #ifndef CRYPTOPP_SAFER_H 7 #define CRYPTOPP_SAFER_H 28 virtual bool Strengthened()
const =0;
31 static const byte exp_tab[256];
32 static const byte log_tab[256];
58 template <
class BASE,
class INFO,
bool STR>
#define CRYPTOPP_STATIC_CONSTEXPR
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher...
SAFER_K::Encryption SAFER_K_Encryption
#define NAMESPACE_BEGIN(x)
BlockCipherFinal< DECRYPTION, SAFER_Impl< Dec, SAFER_K_Info, false > > Decryption
BlockCipherFinal< DECRYPTION, SAFER_Impl< Dec, SAFER_SK_Info, true > > Decryption
Interface for one direction (encryption or decryption) of a block cipher.
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
SAFER block cipher decryption operation.
Classes and functions for secure memory allocations.
Inherited by algorithms with fixed block size.
Inherited by algorithms with variable number of rounds.
SAFER block cipher default operation.
Classes and functions for implementing secret key algorithms.
Provides class member functions to key a block cipher.
SAFER_K::Decryption SAFER_K_Decryption
SAFER block cipher default implementation.
SAFER_SK::Decryption SAFER_SK_Decryption
SAFER-K block cipher information.
Inherited by keyed algorithms with variable key length.
#define CRYPTOPP_NO_VTABLE
unsigned int OptimalDataAlignment() const
Provides input and output data alignment for optimal performance.
bool Strengthened() const
virtual void UncheckedSetKey(const byte *key, unsigned int length, const NameValuePairs ¶ms)=0
Sets the key for this object without performing parameter validation.
SAFER_SK::Encryption SAFER_SK_Encryption
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
BlockCipherFinal< ENCRYPTION, SAFER_Impl< Enc, SAFER_K_Info, false > > Encryption
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
SAFER-SK block cipher information.
BlockCipherFinal< ENCRYPTION, SAFER_Impl< Enc, SAFER_SK_Info, true > > Encryption
Interface for retrieving values given their names.
SAFER block cipher encryption operation.