6 #ifndef CRYPTOPP_SEAL_H 7 #define CRYPTOPP_SEAL_H 18 static const char *StaticAlgorithmName() {
return B::ToEnum() == LITTLE_ENDIAN_ORDER ?
"SEAL-3.0-LE" :
"SEAL-3.0-BE";}
21 template <
class B = BigEndian>
25 void CipherSetKey(
const NameValuePairs ¶ms,
const byte *key,
size_t length);
26 void OperateKeystream(KeystreamOperation operation, byte *output,
const byte *input,
size_t iterationCount);
27 void CipherResynchronize(byte *keystreamBuffer,
const byte *
IV,
size_t length);
28 bool CipherIsRandomAccess()
const {
return true;}
29 void SeekToIteration(lword iterationCount);
36 word32 m_startCount, m_iterationsPerCount;
37 word32 m_outsideCounter, m_insideCounter;
41 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.
Interface for algorithms that take byte strings as keys.
const char * IV()
ConstByteArrayParameter, also accepts const byte * for backwards compatibility.
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher...
Crypto++ library namespace.
Interface for retrieving values given their names.