Home
last modified time | relevance | path

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

/external/curl/lib/
Dcurl_ntlm_core.c313 HCRYPTPROV hprov; in encrypt_des() local
323 if(!CryptAcquireContext(&hprov, NULL, NULL, PROV_RSA_FULL, in encrypt_des()
341 if(!CryptImportKey(hprov, (BYTE *) &blob, sizeof(blob), 0, 0, &hkey)) { in encrypt_des()
342 CryptReleaseContext(hprov, 0); in encrypt_des()
353 CryptReleaseContext(hprov, 0); in encrypt_des()
556 HCRYPTPROV hprov; in Curl_ntlm_core_mk_nt_hash()
557 if(CryptAcquireContext(&hprov, NULL, NULL, PROV_RSA_FULL, in Curl_ntlm_core_mk_nt_hash()
560 if(CryptCreateHash(hprov, CALG_MD4, 0, 0, &hhash)) { in Curl_ntlm_core_mk_nt_hash()
566 CryptReleaseContext(hprov, 0); in Curl_ntlm_core_mk_nt_hash()
/external/dbus/dbus/
Ddbus-sysdeps-win.c1975 HCRYPTPROV hprov; in _dbus_generate_random_bytes() local
1984 if (!CryptAcquireContext (&hprov, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) in _dbus_generate_random_bytes()
1987 if (!CryptGenRandom (hprov, n_bytes, p)) in _dbus_generate_random_bytes()
1989 CryptReleaseContext (hprov, 0); in _dbus_generate_random_bytes()
1993 CryptReleaseContext (hprov, 0); in _dbus_generate_random_bytes()