1 #ifndef CRYPTOPP_SOSEMANUK_H
2 #define CRYPTOPP_SOSEMANUK_H
6 NAMESPACE_BEGIN(CryptoPP)
11 static const char * StaticAlgorithmName() {
return "Sosemanuk";}
18 void CipherSetKey(
const NameValuePairs ¶ms,
const byte *key,
size_t length);
19 void OperateKeystream(KeystreamOperation operation, byte *output,
const byte *input,
size_t iterationCount);
20 void CipherResynchronize(byte *keystreamBuffer,
const byte *iv,
size_t length);
21 bool CipherIsRandomAccess()
const {
return false;}
22 #if CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X64
23 unsigned int GetAlignment()
const;
24 unsigned int GetOptimalBlockSize()
const;
interface for one direction (encryption or decryption) of a stream cipher or cipher mode ...
keying interface for crypto algorithms that take byte strings as keys
support query of variable key length, template parameters are default, min, max, multiple (default mu...
Each class derived from this one defines two types, Encryption and Decryption, both of which implemen...
interface for retrieving values given their names