Crypto++
5.6.5
Free C++ class library of cryptographic schemes
|
Go to the documentation of this file.
6 #ifndef CRYPTOPP_SEAL_H
7 #define CRYPTOPP_SEAL_H
17 template <
class B = BigEndian>
20 CRYPTOPP_CONSTEXPR
static const char *StaticAlgorithmName() {
return B::ToEnum() ==
LITTLE_ENDIAN_ORDER ?
"SEAL-3.0-LE" :
"SEAL-3.0-BE";}
26 template <
class B = BigEndian>
41 word32 m_startCount, m_iterationsPerCount;
42 word32 m_outsideCounter, m_insideCounter;
49 template <
class B = BigEndian>
virtual bool CipherIsRandomAccess() const =0
Flag indicating random access.
virtual void CipherResynchronize(byte *keystreamBuffer, const byte *iv, size_t length)
Resynchronize the cipher.
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.
@ LITTLE_ENDIAN_ORDER
byte order is little-endian
SEAL stream cipher information.
Inherited by keyed algorithms with fixed key length.
Base class for additive stream ciphers with SymmetricCipher interface.
KeystreamOperation
Keystream operation flags.
Crypto++ library namespace.
virtual void SeekToIteration(lword iterationCount)
Seeks to a random position in the stream.
SEAL stream cipher operation.
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.