Lines Matching refs:hctx
387 HMAC_CTX *hctx_tpl = NULL, *hctx = NULL; in pbkdf2_derive() local
425 hctx = HMAC_CTX_new(); in pbkdf2_derive()
426 if (hctx == NULL) in pbkdf2_derive()
441 if (!HMAC_CTX_copy(hctx, hctx_tpl)) in pbkdf2_derive()
443 if (!HMAC_Update(hctx, salt, saltlen) in pbkdf2_derive()
444 || !HMAC_Update(hctx, itmp, 4) in pbkdf2_derive()
445 || !HMAC_Final(hctx, digtmp, NULL)) in pbkdf2_derive()
449 if (!HMAC_CTX_copy(hctx, hctx_tpl)) in pbkdf2_derive()
451 if (!HMAC_Update(hctx, digtmp, mdlen) in pbkdf2_derive()
452 || !HMAC_Final(hctx, digtmp, NULL)) in pbkdf2_derive()
464 HMAC_CTX_free(hctx); in pbkdf2_derive()