#include <haval.h>
Inheritance diagram for HAVAL4:

Definition at line 45 of file haval.h.
Public Types | |
| enum | { DIGESTSIZE = 32, HAVAL_VERSION = 1 } |
| enum | { BLOCKSIZE = T_BlockSize } |
| typedef T_Endianness | ByteOrderClass |
| typedef T_HashWordType | HashWordType |
Public Member Functions | |
| HAVAL4 (unsigned int digestSize=DIGESTSIZE) | |
| void | TruncatedFinal (byte *hash, size_t size) |
| unsigned int | DigestSize () const |
| std::string | AlgorithmName () const |
| ByteOrder | GetByteOrder () const |
| unsigned int | BlockSize () const |
| unsigned int | OptimalBlockSize () const |
| unsigned int | OptimalDataAlignment () const |
| void | Update (const byte *input, size_t length) |
| byte * | CreateUpdateSpace (size_t &size) |
| void | Restart () |
Static Public Member Functions | |
| static void | Transform (word32 *buf, const word32 *in) |
| static const char * | StaticAlgorithmName () |
| static void | CorrectEndianess (HashWordType *out, const HashWordType *in, size_t byteCount) |
Static Public Attributes | |
|
static CompileAssert<((BLOCKSIZE &(BLOCKSIZE-1))==0)> | cryptopp_assert___LINE__ |
Protected Member Functions | |
| void | Init () |
| void | Tailor (unsigned int FPTLEN) |
| void | HashEndianCorrectedBlock (const word32 *in) |
| virtual void | HashEndianCorrectedBlock (const HashWordType *data)=0 |
| void | SetBlockSize (unsigned int blockSize) |
| void | SetStateSize (unsigned int stateSize) |
| T_HashWordType | GetBitCountHi () const |
| T_HashWordType | GetBitCountLo () const |
| void | PadLastBlock (unsigned int lastBlockSize, byte padFirst=0x80) |
| virtual size_t | HashMultipleBlocks (const T_HashWordType *input, size_t length) |
| void | HashBlock (const HashWordType *input) |
Protected Attributes | |
| const unsigned int | digestSize |
| const unsigned int | pass |
| SecBlock< T_HashWordType > | m_data |
| SecBlock< T_HashWordType > | m_digest |
Static Protected Attributes | |
| static const unsigned int | wi2 [32] |
| static const unsigned int | wi3 [32] |
| static const unsigned int | wi4 [32] |
| static const unsigned int | wi5 [32] |
| static const word32 | mc2 [32] |
| static const word32 | mc3 [32] |
| static const word32 | mc4 [32] |
| static const word32 | mc5 [32] |
1.5.1-p1