Home
last modified time | relevance | path

Searched refs:hCryptProv (Results 1 - 1 of 1) sorted by relevance

/developtools/hdc/src/common/
H A Dbase.cpp987 HCRYPTPROV hCryptProv; in GetSecureRandom() local
990 if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, 0)) { in GetSecureRandom()
995 if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) { in GetSecureRandom()
1000 if (!CryptGenRandom(hCryptProv, randomByteCount, pbData)) { in GetSecureRandom()
1003 if (hCryptProv) { in GetSecureRandom()
1004 CryptReleaseContext(hCryptProv, 0); in GetSecureRandom()

Completed in 4 milliseconds