We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 412204e commit 7f79105Copy full SHA for 7f79105
cbcmac.h
@@ -43,7 +43,11 @@ template <class T>
43
class CBC_MAC : public MessageAuthenticationCodeImpl<CBC_MAC_Base, CBC_MAC<T> >, public SameKeyLengthAs<T>
44
{
45
public:
46
+ /// \brief Construct a CBC_MAC
47
CBC_MAC() {}
48
49
+ /// \param key a byte buffer used to key the cipher
50
+ /// \param length the length of the byte buffer
51
CBC_MAC(const byte *key, size_t length=SameKeyLengthAs<T>::DEFAULT_KEYLENGTH)
52
{this->SetKey(key, length);}
53
0 commit comments