Home
last modified time | relevance | path

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

/PHP-7.0/win32/
H A Dwinutil.c52 HCRYPTPROV hCryptProv; variable
66 CryptReleaseContext(hCryptProv, 0); in php_win32_free_rng_lock()
90 …if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_MACHINE_KEYSET|CRYPT_VERIFY… in php_win32_get_random_bytes()
96 …if (CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET | CRYPT_MACHINE_KE… in php_win32_get_random_bytes()
116 ret = CryptGenRandom(hCryptProv, (DWORD)size, buf); in php_win32_get_random_bytes()
/PHP-7.0/ext/standard/
H A Dphp_crypt_r.c128 HCRYPTPROV hCryptProv; in php_md5_crypt_r() local
143 if(!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { in php_md5_crypt_r()
166 if(!CryptCreateHash(hCryptProv, CALG_MD5, 0, 0, &ctx)) { in php_md5_crypt_r()
187 if(!CryptCreateHash(hCryptProv, CALG_MD5, 0, 0, &ctx1)) { in php_md5_crypt_r()
234 if(!CryptCreateHash(hCryptProv, CALG_MD5, 0, 0, &ctx1)) { in php_md5_crypt_r()
306 if(hCryptProv) { in php_md5_crypt_r()
307 if(!(CryptReleaseContext(hCryptProv, 0))) { in php_md5_crypt_r()

Completed in 9 milliseconds