Home
last modified time | relevance | path

Searched refs:hprov (Results 1 – 2 of 2) sorted by relevance

/third_party/openssl/engines/
De_capi.c413 HCRYPTPROV hprov; in capi_init() local
480 if (CryptAcquireContextW(&hprov, NULL, rsa_aes_cspname, PROV_RSA_AES, in capi_init()
483 CryptReleaseContext(hprov, 0); in capi_init()
525 HCRYPTPROV hprov; member
874 if (!CryptCreateHash(capi_key->hprov, alg, 0, 0, &hash)) { in capi_rsa_sign()
1019 if (!CryptCreateHash(capi_key->hprov, CALG_SHA1, 0, 0, &hash)) { in capi_dsa_do_sign()
1196 HCRYPTPROV hprov; in capi_list_containers() local
1216 if (!CryptAcquireContextW(&hprov, NULL, cspname, ctx->csptype, in capi_list_containers()
1223 if (!CryptGetProvParam(hprov, PP_ENUMCONTAINERS, NULL, &buflen, in capi_list_containers()
1227 CryptReleaseContext(hprov, 0); in capi_list_containers()
[all …]
/third_party/curl/lib/
Dcurl_ntlm_core.c309 HCRYPTPROV hprov; in encrypt_des() local
319 if(!CryptAcquireContext(&hprov, NULL, NULL, PROV_RSA_FULL, in encrypt_des()
337 if(!CryptImportKey(hprov, (BYTE *) &blob, sizeof(blob), 0, 0, &hkey)) { in encrypt_des()
338 CryptReleaseContext(hprov, 0); in encrypt_des()
349 CryptReleaseContext(hprov, 0); in encrypt_des()