Closed
Description
On Windows, os.rs can call RtlGenRandom()
directly instead of jumping through hoops to obtain an HCRYPTPROV
handle from CryptAcquireContextA()
/CryptReleaseContext()
before calling CryptGenRandom()
(which just calls RtlGenRandom()
itself).
Chromium, boringssl and ring, and Firefox all call RtlGenRandom()
directly (which is actually exported from advapi32.dll as SystemFunction036()
).