7 #ifndef CRYPTOPP_SOSEMANUK_H 8 #define CRYPTOPP_SOSEMANUK_H 15 #if CRYPTOPP_BOOL_X32 || defined(CRYPTOPP_DISABLE_INTEL_ASM) 16 # define CRYPTOPP_DISABLE_SOSEMANUK_ASM 39 #if (CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X64) && !defined(CRYPTOPP_DISABLE_SOSEMANUK_ASM) virtual unsigned int GetOptimalBlockSize() const
Provides number of ideal bytes to process.
#define CRYPTOPP_STATIC_CONSTEXPR
Sosemanuk stream cipher implementation.
unsigned int GetAlignment() const
Provides data alignment requirements.
Base class for additive stream ciphers.
#define NAMESPACE_BEGIN(x)
void CipherSetKey(const NameValuePairs ¶ms, const byte *key, size_t length)
Key the cipher.
void CipherResynchronize(byte *keystreamBuffer, const byte *iv, size_t length)
Resynchronize the cipher.
void OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount)
Operates the keystream.
Classes and functions for secure memory allocations.
FixedSizeAlignedSecBlock< word32, 12 > m_state
Interface for algorithms that take byte strings as keys.
SymmetricCipherFinal< ConcretePolicyHolder< SosemanukPolicy, AdditiveCipherTemplate<> >, SosemanukInfo > Encryption
Sosemanuk stream cipher information.
Inherited by keyed algorithms with variable key length.
Classes for implementing stream ciphers.
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher...
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
FixedSizeSecBlock< word32, 25 *4 > m_key
KeystreamOperation
Keystream operation flags.
SymmetricCipher implementation.
Interface for retrieving values given their names.
bool CipherIsRandomAccess() const
Flag indicating random access.