Home
last modified time | relevance | path

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

/PHP-5.5/win32/
H A Dwinutil.c52 HCRYPTPROV hCryptProv; variable
66 CryptReleaseContext(hCryptProv, 0); in php_win32_free_rng_lock()
93 …if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_MACHINE_KEYSET|CRYPT_VERIFY… in php_win32_get_random_bytes()
99 …if (CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET | CRYPT_MACHINE_KE… in php_win32_get_random_bytes()
118 ret = CryptGenRandom(hCryptProv, size, buf); in php_win32_get_random_bytes()
/PHP-5.5/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()
/PHP-5.5/Zend/
H A Dzend_alloc.c983 HCRYPTPROV hCryptProv; in zend_mm_random() local
986 if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, 0)) { in zend_mm_random()
990 if (CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) { in zend_mm_random()
999 BOOL ret = CryptGenRandom(hCryptProv, size, buf); in zend_mm_random()
1000 CryptReleaseContext(hCryptProv, 0); in zend_mm_random()

Completed in 42 milliseconds