Skip to content

Commit 7f79105

Browse files
committed
Update CBC-MAC documentation
1 parent 412204e commit 7f79105

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cbcmac.h

+4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ template <class T>
4343
class CBC_MAC : public MessageAuthenticationCodeImpl<CBC_MAC_Base, CBC_MAC<T> >, public SameKeyLengthAs<T>
4444
{
4545
public:
46+
/// \brief Construct a CBC_MAC
4647
CBC_MAC() {}
48+
/// \brief Construct a CBC_MAC
49+
/// \param key a byte buffer used to key the cipher
50+
/// \param length the length of the byte buffer
4751
CBC_MAC(const byte *key, size_t length=SameKeyLengthAs<T>::DEFAULT_KEYLENGTH)
4852
{this->SetKey(key, length);}
4953

0 commit comments

Comments
 (0)