mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 01:49:41 +00:00
Update CBC-MAC documentation
This commit is contained in:
parent
412204e4d2
commit
7f7910524e
4
cbcmac.h
4
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);}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user