Home
last modified time | relevance | path

Searched refs:hCP (Results 1 – 1 of 1) sorted by relevance

/external/pdfium/core/fxcrt/
Dfx_random.cpp38 HCRYPTPROV hCP = 0; in GenerateSeedFromCryptoRandom() local
39 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()