6 #ifndef CRYPTOPP_WAKE_H 7 #define CRYPTOPP_WAKE_H 18 template <
class B = BigEndian>
21 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return B::ToEnum() ==
LITTLE_ENDIAN_ORDER ?
"WAKE-OFB-LE" :
"WAKE-OFB-BE";}
27 word32 M(word32 x, word32 y);
28 void GenKey(word32 k0, word32 k1, word32 k2, word32 k3);
31 word32 r3, r4, r5, r6;
37 template <
class B = BigEndian>
41 void CipherSetKey(
const NameValuePairs ¶ms,
const byte *key,
size_t length);
44 bool CipherIsRandomAccess()
const {
return false;}
50 template <
class B = BigEndian>
Inherited by keyed algorithms with fixed key length.
Base class for additive stream ciphers.
byte order is little-endian
Classes and functions for secure memory allocations.
Classes and functions for implementing secret key algorithms.
Interface for one direction (encryption or decryption) of a stream cipher or cipher mode...
virtual void OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount)=0
Operates the keystream.
WAKE stream cipher operation.
Classes for implementing stream ciphers.
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher...
WAKE stream cipher information.
KeystreamOperation
Keystream operation flags.
Crypto++ library namespace.
SymmetricCipher implementation.
Interface for retrieving values given their names.