15 #ifndef CRYPTOPP_RABBIT_H 16 #define CRYPTOPP_RABBIT_H 31 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "Rabbit"; }
38 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "RabbitWithIV"; }
46 void CipherSetKey(
const NameValuePairs ¶ms,
const byte *key,
size_t length);
47 void OperateKeystream(
KeystreamOperation operation, byte *output,
const byte *input,
size_t iterationCount);
48 bool CanOperateKeystream()
const {
return true; }
49 bool CipherIsRandomAccess()
const {
return false; }
64 void CipherSetKey(
const NameValuePairs ¶ms,
const byte *key,
size_t length);
65 void OperateKeystream(
KeystreamOperation operation, byte *output,
const byte *input,
size_t iterationCount);
66 void CipherResynchronize(byte *keystreamBuffer,
const byte *iv,
size_t length);
67 bool CanOperateKeystream()
const {
return true; }
68 bool CipherIsRandomAccess()
const {
return false; }
112 #endif // CRYPTOPP_RABBIT_H Inherited by keyed algorithms with fixed key length.
Rabbit stream cipher information.
Base class for additive stream ciphers.
Rabbit stream cipher implementation.
Rabbit stream cipher implementation.
Classes and functions for secure memory allocations.
Interface for algorithms that take byte strings as keys.
Classes for implementing stream ciphers.
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher...
KeystreamOperation
Keystream operation flags.
Crypto++ library namespace.
SymmetricCipher implementation.
Interface for retrieving values given their names.
Rabbit stream cipher information.