Crypto++
8.2
Free C++ class library of cryptographic schemes
|
Go to the documentation of this file.
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);
67 #endif // CRYPTOPP_HC128_H
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher.
SymmetricCipher implementation.
Base class for additive stream ciphers.
Classes and functions for secure memory allocations.
Interface for algorithms that take byte strings as keys.
Inherited by keyed algorithms with fixed key length.
HC-128 stream cipher implementation.
KeystreamOperation
Keystream operation flags.
Crypto++ library namespace.
HC-128 stream cipher information.
Interface for retrieving values given their names.
Classes for implementing stream ciphers.