Home
last modified time | relevance | path

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

/hardware/qcom/msm8998/json-c/
Drandom_seed.c190 HCRYPTPROV hProvider = 0; in get_cryptgenrandom_seed() local
193 … if (!CryptAcquireContextW(&hProvider, 0, 0, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_SILENT)) { in get_cryptgenrandom_seed()
198 if (!CryptGenRandom(hProvider, sizeof(r), (BYTE*)&r)) { in get_cryptgenrandom_seed()
203 CryptReleaseContext(hProvider, 0); in get_cryptgenrandom_seed()