6 #ifndef CRYPTOPP_WAKE_H 7 #define CRYPTOPP_WAKE_H 19 static const char *StaticAlgorithmName() {
return B::ToEnum() == LITTLE_ENDIAN_ORDER ?
"WAKE-OFB-LE" :
"WAKE-OFB-BE";}
25 word32 M(word32 x, word32 y);
26 void GenKey(word32 k0, word32 k1, word32 k2, word32 k3);
29 word32 r3, r4, r5, r6;
32 template <
class B = BigEndian>
36 void CipherSetKey(
const NameValuePairs ¶ms,
const byte *key,
size_t length);
38 void OperateKeystream(KeystreamOperation operation, byte *output,
const byte *input,
size_t iterationCount);
39 bool CipherIsRandomAccess()
const {
return false;}
43 template <
class B = BigEndian>
Inherited by keyed algorithms with fixed key length.
Converts a typename to an enumerated value.
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...
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher...
Crypto++ library namespace.
Interface for retrieving values given their names.