Crypto++
8.8
Free C++ class library of cryptographic schemes
|
Go to the documentation of this file.
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
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher.
SymmetricCipher implementation.
Base class for additive stream ciphers.
Classes and functions for secure memory allocations.
Interface for algorithms that take byte strings as keys.
unsigned int word32
32-bit unsigned datatype
Inherited by keyed algorithms with fixed key length.
Rabbit stream cipher information.
Rabbit stream cipher information.
KeystreamOperation
Keystream operation flags.
Rabbit stream cipher implementation.
Crypto++ library namespace.
Rabbit stream cipher implementation.
Interface for retrieving values given their names.
Classes for implementing stream ciphers.