#include <haval.h>
Inheritance diagram for HAVAL3:
Definition at line 32 of file haval.h.
Public Types | |
enum | { DIGESTSIZE = 32, HAVAL_VERSION = 1 } |
typedef LittleEndian | ByteOrderClass |
typedef IteratedHashBase< word32, HashTransformation >::HashWordType | HashWordType |
Public Member Functions | |
HAVAL3 (unsigned int digestSize=DIGESTSIZE) | |
void | TruncatedFinal (byte *hash, unsigned int size) |
unsigned int | DigestSize () const |
Static Public Member Functions | |
void | Transform (word32 *buf, const word32 *in) |
void | CorrectEndianess (HashWordType *out, const HashWordType *in, unsigned int byteCount) |
Protected Member Functions | |
void | Init () |
void | Tailor (unsigned int FPTLEN) |
void | vTransform (const word32 *in) |
virtual void | vTransform (const HashWordType *data)=0 |
unsigned int | BlockSize () const |
void | HashBlock (const HashWordType *input) |
Protected Attributes | |
const unsigned int | digestSize |
const unsigned int | pass |
Static Protected Attributes | |
const unsigned int | wi2 [32] = { 5,14,26,18,11,28, 7,16, 0,23,20,22, 1,10, 4, 8,30, 3,21, 9,17,24,29, 6,19,12,15,13, 2,25,31,27} |
const unsigned int | wi3 [32] = {19, 9, 4,20,28,17, 8,22,29,14,25,12,24,30,16,26,31,15, 7, 3, 1, 0,18,27,13, 6,21,10,23,11, 5, 2} |
const unsigned int | wi4 [32] = {24, 4, 0,14, 2, 7,28,23,26, 6,30,20,18,25,19, 3,22,11,31,21, 8,27,12, 9, 1,29, 5,15,17,10,16,13} |
const unsigned int | wi5 [32] = {27, 3,21,26,17,11,20,29,19, 0,12, 7,13, 8,31,10, 5, 9,14,30,18, 6,28,24, 2,23,16,22, 4, 1,25,15} |
const word32 | mc2 [32] |
const word32 | mc3 [32] |
const word32 | mc4 [32] |
const word32 | mc5 [32] |
|
Initial value:
|
|
Initial value:
|
|
Initial value:
|
|
Initial value:
|