30 int hmac(
const void *
buffer,
size_t buffer_length,
const void *key,
size_t key_length,
unsigned char *digest,
size_t digest_len,
size_t block_size,
void (*hash_func) (
const void *,
size_t,
unsigned char *));
40 int hmac_md5(
const void *buffer,
size_t buffer_length,
const void *key,
size_t key_length,
unsigned char digest[MD5_DIGEST_LENGTH]);
50 int hmac_sha1(
const void *buffer,
size_t buffer_length,
const void *key,
size_t key_length,
unsigned char digest[SHA1_DIGEST_LENGTH]);
int hmac_md5(const void *buffer, size_t buffer_length, const void *key, size_t key_length, unsigned char digest[MD5_DIGEST_LENGTH])
Generate HMAC using md5 hash function Note that this function produces a digest in binary form which...
int hmac_sha1(const void *buffer, size_t buffer_length, const void *key, size_t key_length, unsigned char digest[SHA1_DIGEST_LENGTH])
Generate HMAC using sha1 hash function Note that this function produces a digest in binary form whic...
Routines for computing SHA1 checksums.
int hmac(const void *buffer, size_t buffer_length, const void *key, size_t key_length, unsigned char *digest, size_t digest_len, size_t block_size, void(*hash_func)(const void *, size_t, unsigned char *))
Generate HMAC.
Routines for computing MD5 checksums.