Home
last modified time | relevance | path

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

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