gsasl_hmac_md53
Api function
Usage
#include <gsasl.h>
int gsasl_hmac_md5(const char * key, size_t keylen, const char * in, size_t inlen, char * [] outhash);
Arguments
const char * key
|
input character array with key to use. |
|---|---|
size_t keylen
|
length of input character array with key to use. |
const char * in
|
input character array of data to hash. |
size_t inlen
|
length of input character array of data to hash. |
char * [] outhash
|
newly allocated 16-byte character array with keyed hash of data. |
Overview
Compute keyed checksum of data using HMAC-MD5. The outhash buffer must be deallocated by the caller.
Return value: Returns GSASL_OK iff successful.
Deprecated
Use a crypto library.
Releases
8 releases since Debian 4.0 (Etch); the text changed 4 times.