Searched refs:hCryptProv (Results 1 – 3 of 3) sorted by relevance
/PHP-5.3/win32/ |
H A D | winutil.c | 52 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.3/ext/standard/ |
H A D | php_crypt_r.c | 128 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() 239 if(!CryptCreateHash(hCryptProv, CALG_MD5, 0, 0, &ctx1)) { in php_md5_crypt_r() 311 if(hCryptProv) { in php_md5_crypt_r() 312 if(!(CryptReleaseContext(hCryptProv, 0))) { in php_md5_crypt_r()
|
/PHP-5.3/Zend/ |
H A D | zend_alloc.c | 957 HCRYPTPROV hCryptProv; in zend_mm_random() local 960 if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, 0)) { in zend_mm_random() 964 if (CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) { in zend_mm_random() 973 BOOL ret = CryptGenRandom(hCryptProv, size, buf); in zend_mm_random() 974 CryptReleaseContext(hCryptProv, 0); in zend_mm_random()
|
Completed in 33 milliseconds