#include <hmac.h>
Inheritance diagram for HMAC_Base:
Definition at line 12 of file hmac.h.
Public Types | |
enum | |
enum | |
Public Member Functions | |
HMAC_Base () | |
void | UncheckedSetKey (const byte *userKey, unsigned int keylength) |
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) |
Protected Member Functions | |
virtual HashTransformation & | AccessHash ()=0 |
virtual byte * | AccessIpad ()=0 |
virtual byte * | AccessOpad ()=0 |
virtual byte * | AccessInnerHash ()=0 |