summaryrefslogtreecommitdiff
path: root/cbcmac.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-04-10 00:13:44 -0400
committerJeffrey Walton <noloader@gmail.com>2021-04-10 00:13:44 -0400
commit7f7910524e3512184498fa5fe0629ecc7597d0e9 (patch)
tree2dfde7815717a3de48ff4e7511e0dc9603d6e764 /cbcmac.h
parent412204e4d27056b27e5f41bddb8c1022ecf1c51b (diff)
downloadcryptopp-git-7f7910524e3512184498fa5fe0629ecc7597d0e9.tar.gz
Update CBC-MAC documentation
Diffstat (limited to 'cbcmac.h')
-rw-r--r--cbcmac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cbcmac.h b/cbcmac.h
index 8ad81b52..ca3ff689 100644
--- a/cbcmac.h
+++ b/cbcmac.h
@@ -43,7 +43,11 @@ template <class T>
class CBC_MAC : public MessageAuthenticationCodeImpl<CBC_MAC_Base, CBC_MAC<T> >, public SameKeyLengthAs<T>
{
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<T>::DEFAULT_KEYLENGTH)
{this->SetKey(key, length);}