diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-04-10 00:13:44 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-04-10 00:13:44 -0400 |
commit | 7f7910524e3512184498fa5fe0629ecc7597d0e9 (patch) | |
tree | 2dfde7815717a3de48ff4e7511e0dc9603d6e764 /cbcmac.h | |
parent | 412204e4d27056b27e5f41bddb8c1022ecf1c51b (diff) | |
download | cryptopp-git-7f7910524e3512184498fa5fe0629ecc7597d0e9.tar.gz |
Update CBC-MAC documentation
Diffstat (limited to 'cbcmac.h')
-rw-r--r-- | cbcmac.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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);}
|