Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/prngs/
A Drng_get_bytes.c100 HCRYPTPROV hProv = 0; in s_rng_win32() local
102 if (!CryptAcquireContext(&hProv, NULL, MS_DEF_PROV, PROV_RSA_FULL, in s_rng_win32()
104 !CryptAcquireContext (&hProv, NULL, MS_DEF_PROV, PROV_RSA_FULL, in s_rng_win32()
108 if (CryptGenRandom(hProv, len, buf) == TRUE) { in s_rng_win32()
109 CryptReleaseContext(hProv, 0); in s_rng_win32()
112 CryptReleaseContext(hProv, 0); in s_rng_win32()

Completed in 2 milliseconds