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