Crypto++
8.2
Free C++ class library of cryptographic schemes
|
Go to the documentation of this file.
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>
50 template <
class B = BigEndian>
virtual bool CipherIsRandomAccess() const =0
Flag indicating random access.
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher.
SymmetricCipher implementation.
Base class for additive stream ciphers.
virtual void CipherSetKey(const NameValuePairs ¶ms, const byte *key, size_t length)=0
Key the cipher.
Classes and functions for secure memory allocations.
Interface for one direction (encryption or decryption) of a stream cipher or cipher mode.
@ LITTLE_ENDIAN_ORDER
byte order is little-endian
WAKE stream cipher information.
Inherited by keyed algorithms with fixed key length.
KeystreamOperation
Keystream operation flags.
Classes and functions for implementing secret key algorithms.
WAKE stream cipher operation.
Crypto++ library namespace.
virtual void OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount)=0
Operates the keystream.
Interface for retrieving values given their names.
Classes for implementing stream ciphers.