Actually, we may avoid the complexity of managing HMAC_CTX by
using "convenience" function HMAC() instead of CTX-based family.
In this form, the program compiles against openssl 1.1.x (but
the configure option "--disable-openssl" is kept in case someone
dislikes openssl).
Signed-off-by: Eugene Crosser <evgenii.cherkashin@profitbricks.com>
const void *pt, const int tlen,
void *tag, int *taglen)
{
const void *pt, const int tlen,
void *tag, int *taglen)
{
HMAC_CTX hctx;
HMAC_CTX_init(&hctx);
HMAC_CTX hctx;
HMAC_CTX_init(&hctx);