Lines Matching refs:hctx
593 HMAC_CTX hctx_tpl, hctx; in PKCS5_PBKDF2_HMAC_fast() local
600 HMAC_CTX_init(&hctx); in PKCS5_PBKDF2_HMAC_fast()
619 if (!HMAC_CTX_copy(&hctx, &hctx_tpl)) { in PKCS5_PBKDF2_HMAC_fast()
623 if (!HMAC_Update(&hctx, salt, saltlen) in PKCS5_PBKDF2_HMAC_fast()
624 || !HMAC_Update(&hctx, itmp, 4) in PKCS5_PBKDF2_HMAC_fast()
625 || !HMAC_Final(&hctx, digtmp, NULL)) { in PKCS5_PBKDF2_HMAC_fast()
627 HMAC_CTX_cleanup(&hctx); in PKCS5_PBKDF2_HMAC_fast()
630 HMAC_CTX_cleanup(&hctx); in PKCS5_PBKDF2_HMAC_fast()
633 if (!HMAC_CTX_copy(&hctx, &hctx_tpl)) { in PKCS5_PBKDF2_HMAC_fast()
637 if (!HMAC_Update(&hctx, digtmp, mdlen) in PKCS5_PBKDF2_HMAC_fast()
638 || !HMAC_Final(&hctx, digtmp, NULL)) { in PKCS5_PBKDF2_HMAC_fast()
640 HMAC_CTX_cleanup(&hctx); in PKCS5_PBKDF2_HMAC_fast()
643 HMAC_CTX_cleanup(&hctx); in PKCS5_PBKDF2_HMAC_fast()