7#ifndef CRYPTOPP_CBCMAC_H
8#define CRYPTOPP_CBCMAC_H
22 void UncheckedSetKey(
const byte *key,
unsigned int length,
const NameValuePairs ¶ms);
23 void Update(
const byte *input,
size_t length);
24 void TruncatedFinal(
byte *mac,
size_t size);
33 unsigned int m_counter;
48 {this->SetKey(key, length);}
50 static std::string StaticAlgorithmName() {
return std::string(
"CBC-MAC(") + T::StaticAlgorithmName() +
")";}
54 typename T::Encryption m_cipher;
Interface for one direction (encryption or decryption) of a block cipher.
unsigned int DigestSize() const
Provides the digest size of the hash.
Interface for message authentication codes.
Provides a base implementation of Algorithm and SimpleKeyingInterface for message authentication code...
Interface for retrieving values given their names.
Provides key lengths based on another class's key length.
Crypto++ library namespace.
Classes and functions for secure memory allocations.
Classes and functions for implementing secret key algorithms.