Crypto++ 8.9
Free C++ class library of cryptographic schemes
|
Provides class member functions to key a message authentication code. More...
#include <seckey.h>
Public Member Functions | |
MessageAuthenticationCodeFinal () | |
Construct a default MessageAuthenticationCodeFinal. | |
MessageAuthenticationCodeFinal (const byte *key) | |
Construct a BlockCipherFinal. | |
MessageAuthenticationCodeFinal (const byte *key, size_t length) | |
Construct a BlockCipherFinal. | |
Public Member Functions inherited from ClonableImpl< MessageAuthenticationCodeFinal< BASE >, MessageAuthenticationCodeImpl< BASE > > | |
Clonable * | Clone () const |
Create a copy of this object. | |
Provides class member functions to key a message authentication code.
BASE | a BlockCipherImpl derived class |
A default implementation for MessageAuthenticationCode
|
inline |
Construct a default MessageAuthenticationCodeFinal.
The message authentication code is not keyed.
|
inline |
Construct a BlockCipherFinal.
key | a byte array used to key the algorithm |
key must be at least DEFAULT_KEYLENGTH in length. Internally, the function calls SimpleKeyingInterface::SetKey.
|
inline |
Construct a BlockCipherFinal.
key | a byte array used to key the algorithm |
length | the length of the byte array |
key must be at least DEFAULT_KEYLENGTH in length. Internally, the function calls SimpleKeyingInterface::SetKey.