#include "beecrypt/beecrypt.h"
Go to the source code of this file.
Data Structures | |
struct | md4Param |
Holds all the parameters necessary for the MD4 algorithm. More... | |
Functions | |
void | md4Process (md4Param *mp) |
int | md4Reset (md4Param *mp) |
This function resets the parameter block so that it's ready for a new hash. | |
int | md4Update (md4Param *mp, const byte *data, size_t size) |
This function should be used to pass successive blocks of data to be hashed. | |
int | md4Digest (md4Param *mp, byte *digest) |
This function finishes the current hash computation and copies the digest value into digest. | |
Variables | |
const hashFunction | md4 |
Holds the full API description of the MD4 algorithm. |
This function finishes the current hash computation and copies the digest value into digest.
mp | The hash function's parameter block. | |
digest | The place to store the 16-byte digest. |
0 | on success. |
void md4Process | ( | md4Param * | mp | ) |
int md4Reset | ( | md4Param * | mp | ) |
This function resets the parameter block so that it's ready for a new hash.
mp | The hash function's parameter block. |
0 | on success. |
This function should be used to pass successive blocks of data to be hashed.
mp | The hash function's parameter block. | |
data | ||
size |
0 | on success. |
Holds the full API description of the MD4 algorithm.