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);
22 unsigned int DigestSize()
const {
return DIGESTSIZE;};
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.
Fixed size stack-based SecBlock.
Iterated hash base class.
Provides class member functions to key a message authentication code.
Interface for message authentication codes.
Interface for retrieving values given their names.
TTMAC message authentication code information.
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.