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

/netbsd-current/external/bsd/ntp/dist/lib/isc/win32/
H A Dentropy.c54 HCRYPTPROV hcryptprov = source->sources.file.handle; local
66 if (!CryptGenRandom(hcryptprov, ndesired, buf)) {
67 CryptReleaseContext(hcryptprov, 0);
246 HCRYPTPROV hcryptprov; local
260 err = CryptAcquireContext(&hcryptprov, NULL, NULL, PROV_RSA_FULL,
284 source->sources.file.handle = hcryptprov;
296 CryptReleaseContext(hcryptprov, 0);

Completed in 568 milliseconds