Re: How to use the HMAC() function

2008-02-26 Thread Marek . Marcola
Hello, > I have a doubt about how to use the HMAC() function. I developed this code in C > language: (abridged) > > ... > unsigned char *auth = NULL; > unsigned char *session_auth_key; > unsigned char *auth_tag; > . > . > auth = HMAC(EVP_sha1(), session_aut

How to use the HMAC() function

2008-02-26 Thread Agustin Cozzetti
Hello everybody, I have a doubt about how to use the HMAC() function. I developed this code in C language: (abridged) ... unsigned char *auth = NULL; unsigned char *session_auth_key; unsigned char *auth_tag; . . auth = HMAC(EVP_sha1(), session_auth_key, auth_key_length, length