Hi all,

I am finding a strange problem with HMAC_Init_ex.
After the call to this function the stack is getting corrupted.

The sequence of functions used are-

HMAC_CTX ctx ;
HMAC_CTX_init(&ctx);
HMAC_Init_ex(&ctx, hash_key->v, hash_key->l, EVP_sha1(), NULL);

Key->v points to 20 bytes of memory, while key->l is 20.

Are there some necessary pre-requisites to this?

Can anyone help?

Thanks,
Prashant

Reply via email to