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