Searched refs:hCryptProv (Results 1 – 1 of 1) sorted by relevance
236 HCRYPTPROV hCryptProv; in init_random_state() local238 if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) in init_random_state()245 if (!CryptGenRandom(hCryptProv, size, (BYTE*)rand_seeds)) { in init_random_state()248 CryptReleaseContext(hCryptProv, 0); in init_random_state()252 CryptReleaseContext(hCryptProv, 0); in init_random_state()