14#ifndef CRYPTOPP_HC128_H
15#define CRYPTOPP_HC128_H
20NAMESPACE_BEGIN(CryptoPP)
26 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "HC-128"; }
40 void GenerateKeystream(
word32* keystream);
Inherited by keyed algorithms with fixed key length.
Fixed size stack-based SecBlock.
HC-128 stream cipher implementation.
void OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount)
Operates the keystream.
void CipherSetKey(const NameValuePairs ¶ms, const byte *key, size_t length)
Key the cipher.
bool CanOperateKeystream() const
Flag indicating.
void CipherResynchronize(byte *keystreamBuffer, const byte *iv, size_t length)
Resynchronize the cipher.
bool CipherIsRandomAccess() const
Flag indicating random access.
Interface for retrieving values given their names.
Interface for algorithms that take byte strings as keys.
SymmetricCipher implementation.
unsigned int word32
32-bit unsigned datatype
Classes and functions for secure memory allocations.
Classes for implementing stream ciphers.
KeystreamOperation
Keystream operation flags.
Base class for additive stream ciphers.
HC-128 stream cipher information.
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher.