#include <xormac.h>
Inheritance diagram for XMACC:

Public Types | |
| typedef T::HashWordType | HashWordType |
| enum | { KEYLENGTH = T::DIGESTSIZE-4, DIGESTSIZE = 4+T::DIGESTSIZE } |
Public Methods | |
| XMACC (const byte *userKey,word32 counter=0xffffffff) | |
| word32 | CurrentCounter ()const |
| void | Final (byte *mac) |
| bool | Verify (const byte *mac) |
| verify that digest is a valid digest for the current message, then reinitialize the object. More... | |
| unsigned int | DigestSize ()const |
| size of the hash returned by Final(). More... | |
Definition at line 11 of file xormac.h.
|
|||
|
Reimplemented from IteratedHash. |
|
|||
|
|
|
||||||
|
|
|
||||
|
|
|
||||
|
size of the hash returned by Final().
Reimplemented from HashModule. |
|
||||
|
Reimplemented from IteratedHash. |
|
||||
|
verify that digest is a valid digest for the current message, then reinitialize the object. Default implementation is to call Final() and do a bitwise comparison between its output and digest. Reimplemented from HashModule. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000