boringssl/crypto/fipsmodule
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
..
aes ARMv4 assembly pack: harmonize Thumb-ification of iOS build. 2017-06-13 17:49:16 +00:00
bn Switch some pointer casts to memcpy. 2017-07-11 02:02:41 +00:00
cipher Make AES-GCM AEADs support the optional second input argument to seal_scatter. 2017-06-27 23:39:48 +00:00
des Move des/ to crypto/fipsmodule/ 2017-05-02 19:21:02 +00:00
digest Be less clever about .rel.ro avoidance. 2017-04-07 15:20:26 +00:00
ec Switch some pointer casts to memcpy. 2017-07-11 02:02:41 +00:00
ecdsa Don't draw entropy during FIPS power-on tests. 2017-06-13 20:27:48 +00:00
hmac
md4
md5 Remove filename argument to x86 asm_init. 2017-05-12 14:58:27 +00:00
modes ARMv4 assembly pack: harmonize Thumb-ification of iOS build. 2017-06-13 17:49:16 +00:00
rand Use __NR_getrandom rather than SYS_getrandom. 2017-07-18 16:28:41 +00:00
rsa Unify RSA errors somewhat. 2017-07-06 22:16:17 +00:00
sha sha/asm/sha512-armv8.pl: adapt for kernel use. 2017-06-13 17:47:41 +00:00
bcm.c Don't draw entropy during FIPS power-on tests. 2017-06-13 20:27:48 +00:00
CMakeLists.txt Convert example_mul to GTest. 2017-07-10 19:28:29 +00:00
delocate.h Switch to new delocate tool. 2017-05-30 18:00:16 +00:00
FIPS.md <sup> doesn't work in Markdown, use Unicode instead. 2017-07-06 15:19:26 +00:00
intcheck1.png
intcheck2.png Inject FIPS hash without running module. 2017-04-12 23:09:38 +00:00
intcheck3.png
is_fips.c Move OPENSSL_ASAN to base.h. 2017-05-16 20:16:52 +00:00