6 #ifndef CRYPTOPP_SOSEMANUK_H 7 #define CRYPTOPP_SOSEMANUK_H 14 #if CRYPTOPP_BOOL_X32 || defined(CRYPTOPP_DISABLE_INTEL_ASM) 15 # define CRYPTOPP_DISABLE_SOSEMANUK_ASM 23 static const char * StaticAlgorithmName() {
return "Sosemanuk";}
30 void CipherSetKey(
const NameValuePairs ¶ms,
const byte *key,
size_t length);
31 void OperateKeystream(KeystreamOperation operation, byte *output,
const byte *input,
size_t iterationCount);
32 void CipherResynchronize(byte *keystreamBuffer,
const byte *iv,
size_t length);
33 bool CipherIsRandomAccess()
const {
return false;}
34 #if (CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X64) && !defined(CRYPTOPP_DISABLE_SOSEMANUK_ASM) 35 unsigned int GetAlignment()
const;
36 unsigned int GetOptimalBlockSize()
const;
Classes and functions for secure memory allocations.
Interface for one direction (encryption or decryption) of a stream cipher or cipher mode...
Interface for algorithms that take byte strings as keys.
Inherited by keyed algorithms with variable key length.
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher...
Crypto++ library namespace.
Interface for retrieving values given their names.