From 7f7910524e3512184498fa5fe0629ecc7597d0e9 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 10 Apr 2021 00:13:44 -0400 Subject: [PATCH] Update CBC-MAC documentation --- cbcmac.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cbcmac.h b/cbcmac.h index 8ad81b52..ca3ff689 100644 --- a/cbcmac.h +++ b/cbcmac.h @@ -43,7 +43,11 @@ template class CBC_MAC : public MessageAuthenticationCodeImpl >, public SameKeyLengthAs { public: + /// \brief Construct a CBC_MAC CBC_MAC() {} + /// \brief Construct a CBC_MAC + /// \param key a byte buffer used to key the cipher + /// \param length the length of the byte buffer CBC_MAC(const byte *key, size_t length=SameKeyLengthAs::DEFAULT_KEYLENGTH) {this->SetKey(key, length);}