Lines Matching refs:hctx
284 HMAC_CTX *hctx_tpl = NULL, *hctx = NULL;
321 hctx = HMAC_CTX_new();
322 if (hctx == NULL)
337 if (!HMAC_CTX_copy(hctx, hctx_tpl))
339 if (!HMAC_Update(hctx, salt, saltlen)
340 || !HMAC_Update(hctx, itmp, 4)
341 || !HMAC_Final(hctx, digtmp, NULL))
345 if (!HMAC_CTX_copy(hctx, hctx_tpl))
347 if (!HMAC_Update(hctx, digtmp, mdlen)
348 || !HMAC_Final(hctx, digtmp, NULL))
360 HMAC_CTX_free(hctx);