Searched refs:hCP (Results 1 – 1 of 1) sorted by relevance
38 HCRYPTPROV hCP = 0; in GenerateSeedFromCryptoRandom() local39 if (!::CryptAcquireContext(&hCP, nullptr, nullptr, PROV_RSA_FULL, 0) || in GenerateSeedFromCryptoRandom()40 !hCP) { in GenerateSeedFromCryptoRandom()43 ::CryptGenRandom(hCP, sizeof(uint32_t), reinterpret_cast<uint8_t*>(pSeed)); in GenerateSeedFromCryptoRandom()44 ::CryptReleaseContext(hCP, 0); in GenerateSeedFromCryptoRandom()