6#ifndef CRYPTOPP_TTMAC_H
7#define CRYPTOPP_TTMAC_H
19 static std::string StaticAlgorithmName() {
return std::string(
"Two-Track-MAC");}
20 CRYPTOPP_CONSTANT(DIGESTSIZE=20);
23 void UncheckedSetKey(
const byte *userKey,
unsigned int keylength,
const NameValuePairs ¶ms);
24 void TruncatedFinal(
byte *mac,
size_t size);
27 static void Transform (
word32 *digest,
const word32 *X,
bool last);
28 void HashEndianCorrectedBlock(
const word32 *data) {Transform(m_digest, data,
false);}
30 word32* StateBuf() {
return m_digest;}
Inherited by keyed algorithms with fixed key length.
Iterated hash base class.
Interface for message authentication codes.
Interface for retrieving values given their names.
TTMAC message authentication code information.
unsigned int DigestSize() const
Provides the digest size of the hash.
Two-Track-MAC message authentication code.
unsigned int word32
32-bit unsigned datatype
Base classes for iterated hashes.
Crypto++ library namespace.
Classes and functions for secure memory allocations.
Classes and functions for implementing secret key algorithms.
Converts an enumeration to a type suitable for use as a template parameter.