boringssl/crypto/fipsmodule/rand
David Benjamin 7d53638872 Use __NR_getrandom rather than SYS_getrandom.
The former is defined by the kernel and is a straightforward number. The
latter is defined by glibc as:

  #define SYS_getrandom __NR_getrandom

which does not work when kernel headers are older than glibc headers.
Instead, use the kernel values.

Bug: chromium:742260
Change-Id: Id162f125db660643269e0b1329633437048575c4
Reviewed-on: https://boringssl-review.googlesource.com/17864
Commit-Queue: Adam Langley <agl@google.com>
Reviewed-by: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-07-18 16:28:41 +00:00
..
asm
ctrdrbg_test.cc Convert a number of tests to GTest. 2017-06-01 17:02:13 +00:00
ctrdrbg_vectors.txt
ctrdrbg.c Move cipher/ into crypto/fipsmodule/ 2017-05-05 22:39:40 +00:00
internal.h
rand.c Clarify rand locking comment. 2017-06-08 22:26:40 +00:00
urandom.c Use __NR_getrandom rather than SYS_getrandom. 2017-07-18 16:28:41 +00:00