14#ifndef CRYPTOPP_HC128_H
15#define CRYPTOPP_HC128_H
26 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "HC-128"; }
34 void CipherSetKey(
const NameValuePairs ¶ms,
const byte *key,
size_t length);
35 void OperateKeystream(
KeystreamOperation operation,
byte *output,
const byte *input,
size_t iterationCount);
36 void CipherResynchronize(
byte *keystreamBuffer,
const byte *iv,
size_t length);
37 bool CanOperateKeystream()
const {
return true; }
38 bool CipherIsRandomAccess()
const {
return false; }
40 void GenerateKeystream(
word32* keystream);
Inherited by keyed algorithms with fixed key length.
HC-128 stream cipher implementation.
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
Crypto++ library namespace.
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.