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;}
unsigned int DigestSize() const
Provides the digest size of the hash.
Interface for message authentication codes.
Inherited by keyed algorithms with fixed key length.
TTMAC message authentication code information.
Converts an enumeration to a type suitable for use as a template parameter.
Two-Track-MAC message authentication code.
Classes and functions for secure memory allocations.
Base classes for iterated hashes.
Classes and functions for implementing secret key algorithms.
Iterated hash base class.
Crypto++ library namespace.
Interface for retrieving values given their names.