Searched refs:hCP (Results 1 – 1 of 1) sorted by relevance
636 HCRYPTPROV hCP = 0; in FX_GenerateCryptoRandom() local637 if (!::CryptAcquireContext(&hCP, nullptr, nullptr, PROV_RSA_FULL, 0) || in FX_GenerateCryptoRandom()638 !hCP) { in FX_GenerateCryptoRandom()641 ::CryptGenRandom(hCP, iCount * sizeof(uint32_t), (uint8_t*)pBuffer); in FX_GenerateCryptoRandom()642 ::CryptReleaseContext(hCP, 0); in FX_GenerateCryptoRandom()