boringssl/crypto/rand
David Benjamin dfc2948c73 Call RtlGenRandom directly in RAND_bytes.
It works within the Chromium sandbox, unlike CryptAcquireContext
and CryptGenRandom which requires the HCRYPTPROV be pre-warmed and held within
the sandbox. Also account for the mismatch between size_t and ULONG/DWORD.

See https://chromium.googlesource.com/chromium/src/+/master/base/rand_util_win.cc

BUG=crbug.com/429919

Change-Id: Ia684124736c0c039ca9410509973192a597856ab
Reviewed-on: https://boringssl-review.googlesource.com/2190
Reviewed-by: Adam Langley <agl@google.com>
2014-11-05 00:42:07 +00:00
..
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
rand.c Inital import. 2014-06-20 13:17:32 -07:00
urandom.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
windows.c Call RtlGenRandom directly in RAND_bytes. 2014-11-05 00:42:07 +00:00