Ordo
0.3.4
Symmetric Cryptography Library
|
Primitive. More...
#include "ordo/primitives/hash_functions.h"
Go to the source code of this file.
Functions | |
ORDO_PUBLIC int | md5_init (struct MD5_STATE *state, const void *params) |
ORDO_PUBLIC void | md5_update (struct MD5_STATE *state, const void *buffer, size_t len) |
ORDO_PUBLIC void | md5_final (struct MD5_STATE *state, void *digest) |
ORDO_PUBLIC size_t | md5_query (int query, size_t value) |
ORDO_PUBLIC size_t | md5_bsize (void) |
Primitive.
The MD5 hash function, which produces a 128-bit digest.
ORDO_PUBLIC int md5_init | ( | struct MD5_STATE * | state, |
const void * | params | ||
) |
hash_init()
params
parameter is ignored. ORDO_PUBLIC void md5_update | ( | struct MD5_STATE * | state, |
const void * | buffer, | ||
size_t | len | ||
) |
hash_update()
ORDO_PUBLIC void md5_final | ( | struct MD5_STATE * | state, |
void * | digest | ||
) |
hash_final()
ORDO_PUBLIC size_t md5_query | ( | int | query, |
size_t | value | ||
) |
hash_query()
ORDO_PUBLIC size_t md5_bsize | ( | void | ) |
Gets the size in bytes of an MD5_STATE
.