#include <hmac.h>
Inheritance diagram for HMAC_Base:
Definition at line 12 of file hmac.h.
Public Member Functions | |
HMAC_Base () | |
void | UncheckedSetKey (const byte *userKey, unsigned int keylength, const NameValuePairs ¶ms) |
void | Restart () |
discard the current state, and restart with a new message | |
void | Update (const byte *input, size_t length) |
process more input | |
void | TruncatedFinal (byte *mac, size_t size) |
truncated version of Final() | |
unsigned int | OptimalBlockSize () const |
input to Update() should have length a multiple of this for optimal speed | |
unsigned int | DigestSize () const |
size of the hash returned by Final() | |
Static Public Member Functions | |
static size_t __cdecl | StaticGetValidKeyLength (size_t n) |
Static Public Attributes | |
static const int | MIN_KEYLENGTH |
static const int | MAX_KEYLENGTH |
static const int | DEFAULT_KEYLENGTH |
static const int | KEYLENGTH_MULTIPLE |
static const int | IV_REQUIREMENT |
static const int | IV_LENGTH |
Protected Member Functions | |
virtual HashTransformation & | AccessHash ()=0 |
byte * | AccessIpad () |
byte * | AccessOpad () |
byte * | AccessInnerHash () |