hmac

Name

hmac -- 

Synopsis


#include <hmac.h>


void        hmac_md5                        (unsigned char *data,
                                             int data_len,
                                             unsigned char *key,
                                             int key_len,
                                             unsigned char digest[16]);

Description

Details

hmac_md5 ()

void        hmac_md5                        (unsigned char *data,
                                             int data_len,
                                             unsigned char *key,
                                             int key_len,
                                             unsigned char digest[16]);

Computes MD5 digest of data using key key.

data : pointer to data stream.
data_len : length of data stream in bytes.
key : pointer to authentication key.
key_len : length of authentication key in bytes.
digest : digest to be filled in.