#include "hasher.h"
Include dependency graph for hasher.c:
Defines | |
#define | COMMENT |
Functions | |
hasher_retcode | hasher_setup (hasher_t *H, const char *algostr) |
void | hasher_init (hasher_t *H) |
void | hasher_update (hasher_t *H, const uns8 *data, uns32 len) |
void | hasher_final (hasher_t *H, uns8 *d) |
hasher_retcode | hasher_teardown (hasher_t *H) |
const char* | hasher_ret_msg (hasher_retcode c) |
Variables | |
const int | hasher_lengths [CRYPTO_HASH_COUNT][2] |
|
Value: Created: July 20th, 2001 The following program code is released under the GPL license http://www.gnu.org/copyleft/gpl.html |
|
Finalize the structure and produce a digest
|
|
Initalize the hasher pseudo-object Resets the digest internal state to unity |
|
Provide a human readable representation of an hasher_retcode error code
|
|
Setup the hasher object for use
|
|
De-allocate and erase the components of the hasher
|
|
Update the current state of hasher Operations are buffered, thus alignment issues are abstracted from lucky programm who uses this!
|
|
Initial value: { {CRYPTO_HASH_MD5, MD5_DIGEST_SIZE}, {CRYPTO_HASH_SHA1, SHA1_DIGEST_SIZE}, {CRYPTO_HASH_RIPEMD160, RIPEMD160_DIGEST_SIZE}, {CRYPTO_HASH_SHA2, SHA2_DIGEST_SIZE}, }
|
![]() |
Confidential |