boringssl/util
David Benjamin 632d1127df Add some RAND_bytes tests.
We're a far cry from the good old days when we just read from /dev/urandom
without any fuss...

In particular, the threading logic is slightly non-trivial and probably worth
some basic sanity checks. Also write a fork-safety test, and test the
fork-unsafe-buffering path.

The last one is less useful right now, since fork-unsafe-buffering is a no-op
with RDRAND enabled (although we do have an SDE bot...), but it's probably
worth exercising the code in
https://boringssl-review.googlesource.com/c/boringssl/+/31564.

Change-Id: I14b1fc5216f2a93183286aa9b35f5f2309107fb2
Reviewed-on: https://boringssl-review.googlesource.com/31684
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2018-09-06 23:54:57 +00:00
..
bot "Update" clang. 2018-08-10 16:39:23 +00:00
fipstools Add script for showing FIPS self-test failures. 2018-07-30 22:41:04 +00:00
32-bit-toolchain.cmake
all_tests.go
all_tests.json Add some RAND_bytes tests. 2018-09-06 23:54:57 +00:00
BUILD.toplevel Add support for building ppc64le with bazel 2018-07-16 17:48:12 +00:00
check_filenames.go Add a tool to check for filename collisions. 2018-05-31 19:02:43 +00:00
check_imported_libraries.go
convert_comments.go Maintain comment alignment when converting. 2017-08-02 22:00:50 +00:00
convert_wycheproof.go Add new curve/hash ECDSA combinations from Wycheproof. 2018-08-10 18:26:06 +00:00
diff_asm.go
doc.config
doc.css
doc.go Tidy up docs for #defines. 2018-09-04 22:32:01 +00:00
embed_test_data.go Escape backslashes in crypto test data. 2018-08-08 18:36:11 +00:00
generate_build_files.py Add --embed_test_data=false option to generate_build_files.py 2018-05-22 17:24:42 +00:00
generate-asm-lcov.py
generate-coverage.sh
make_errors.go
make_prefix_headers.go Support symbol prefixes 2018-09-06 20:07:52 +00:00
run_android_tests.go
whitespace.txt No-op commit to kick the bots. 2018-08-09 23:09:23 +00:00