#include <iterhash.h>
Inheritance diagram for IteratedHashBase:

Public Types | |
| typedef T | HashWordType |
Public Methods | |
| IteratedHashBase (unsigned int blockSize,unsigned int digestSize) | |
| unsigned int | DigestSize ()const |
| size of the hash returned by Final(). More... | |
| void | Update (const byte *input,unsigned int length) |
| process more input. More... | |
Protected Methods | |
| virtual unsigned int | HashMultipleBlocks (const T *input,unsigned int length) |
| void | PadLastBlock (unsigned int lastBlockSize,byte padFirst=0x80) |
| void | Reinit () |
| virtual void | Init ()=0 |
| virtual void | HashBlock (const T *input)=0 |
Protected Attributes | |
| unsigned int | blockSize |
| word32 | countLo |
| word32 | countHi |
| SecBlock<T> | data |
| SecBlock<T> | digest |
IteratedHashBase<word32> IteratedHashBase<word64> // ifdef WORD64_AVAILABLE
Definition at line 15 of file iterhash.h.
|
|||
|
Definition at line 18 of file iterhash.h. |
|
||||||
|
Definition at line 9 of file iterhash.cpp. |
|
||||
|
size of the hash returned by Final().
Reimplemented from HashModule. Reimplemented in HAVAL, PanamaHash, SHA384, and XMACC. Definition at line 21 of file iterhash.h. |
|
||||
|
Definition at line 101 of file iterhash.cpp. |
|
||||||
|
Definition at line 66 of file iterhash.cpp. |
|
||||
|
Definition at line 100 of file iterhash.cpp. |
|
||||||
|
Definition at line 78 of file iterhash.cpp. |
|
||||
|
Definition at line 93 of file iterhash.cpp. |
|
||||||
|
process more input.
Reimplemented from HashModule. Definition at line 15 of file iterhash.cpp. |
|
|||
|
Definition at line 31 of file iterhash.h. |
|
|||
|
Definition at line 32 of file iterhash.h. |
|
|||
|
Definition at line 32 of file iterhash.h. |
|
|||
|
Definition at line 33 of file iterhash.h. |
|
|||
|
Definition at line 34 of file iterhash.h. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000