#include <cbcmac.h>
Inheritance diagram for CBC_MAC:

Public Types | |
| enum | { DIGESTSIZE = T::BLOCKSIZE } |
Public Methods | |
| CBC_MAC (const byte *key,unsigned int keylength=DEFAULT_KEYLENGTH) | |
| void | Update (const byte *input,unsigned int length) |
| process more input. More... | |
| void | Final (byte *mac) |
| unsigned int | DigestSize ()const |
| size of the hash returned by Final(). More... | |
Compatible with FIPS 113. T should be an encryption class. Secure only for fixed length messages. For variable length messages use DMAC.
Definition at line 14 of file cbcmac.h.
|
|||
|
|
|
||||||
|
|
|
||||
|
size of the hash returned by Final().
Reimplemented from HashModule. |
|
||||
|
Reimplemented from HashModule. |
|
||||||
|
process more input.
Reimplemented from HashModule. Definition at line 46 of file cbcmac.h. Referenced by DMAC::Update(). |
1.2.4 written by Dimitri van Heesch,
© 1997-2000