boringssl/crypto/rand
Alessandro Ghedini 5e393fedef Test getrandom(2) on Linux if available
This patch changes the urandom PRNG to read one byte from the
getrandom(2) Linux syscall on initialization in order to find any
unexpected behavior.

Change-Id: I8ef676854dc361e4f77527b53d1a14fd14d449a8
Reviewed-on: https://boringssl-review.googlesource.com/8681
Reviewed-by: Adam Langley <alangley@gmail.com>
Commit-Queue: Adam Langley <alangley@gmail.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2016-10-27 23:12:10 +00:00
..
asm
CMakeLists.txt Add a deterministic PRNG for fuzzing. 2016-03-03 01:36:19 +00:00
deterministic.c Define RAND_cleanup in one place only 2016-07-11 17:02:45 +00:00
internal.h Merge hwrand.c into rand.c. 2015-09-25 22:07:42 +00:00
rand.c Define RAND_cleanup in one place only 2016-07-11 17:02:45 +00:00
urandom.c Test getrandom(2) on Linux if available 2016-10-27 23:12:10 +00:00
windows.c Resolve a small handful of size_t truncation warnings. 2016-08-05 19:12:31 +00:00