1 #ifndef CRYPTOPP_SEAL_H
2 #define CRYPTOPP_SEAL_H
6 NAMESPACE_BEGIN(CryptoPP)
12 static const char *StaticAlgorithmName() {
return B::ToEnum() == LITTLE_ENDIAN_ORDER ?
"SEAL-3.0-LE" :
"SEAL-3.0-BE";}
15 template <
class B = BigEndian>
19 void CipherSetKey(
const NameValuePairs ¶ms,
const byte *key,
size_t length);
20 void OperateKeystream(KeystreamOperation operation, byte *output,
const byte *input,
size_t iterationCount);
21 void CipherResynchronize(byte *keystreamBuffer,
const byte *IV,
size_t length);
22 bool CipherIsRandomAccess()
const {
return true;}
23 void SeekToIteration(lword iterationCount);
30 word32 m_startCount, m_iterationsPerCount;
31 word32 m_outsideCounter, m_insideCounter;
35 template <
class B = BigEndian>