1 #ifndef CRYPTOPP_CBCMAC_H
2 #define CRYPTOPP_CBCMAC_H
7 NAMESPACE_BEGIN(CryptoPP)
15 void UncheckedSetKey(
const byte *key,
unsigned int length,
const NameValuePairs ¶ms);
16 void Update(
const byte *input,
size_t length);
17 void TruncatedFinal(byte *mac,
size_t size);
26 unsigned int m_counter;
39 {this->
SetKey(key, length);}
41 static std::string StaticAlgorithmName() {
return std::string(
"CBC-MAC(") + T::StaticAlgorithmName() +
")";}
45 typename T::Encryption m_cipher;