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 Make all_tests.go output cleaner. 2017-09-28 21:28:50 +00:00
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 Add a tool to check dependencies. 2017-07-25 20:03:46 +00:00
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 Fix diff_asm.go and revert another local MASM perlasm change. 2017-05-11 23:30:01 +00:00
doc.config Add chacha.h to the list of documented headers. 2017-10-12 15:27:34 +00:00
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 Fix generate-coverage.sh. 2017-03-21 14:54:47 +00:00
make_errors.go Fix up make_errors.go. 2017-11-01 16:32:56 +00:00
make_prefix_headers.go Support symbol prefixes 2018-09-06 20:07:52 +00:00
run_android_tests.go Add missing files to run_android_test.go. 2017-04-06 15:54:06 +00:00
whitespace.txt No-op commit to kick the bots. 2018-08-09 23:09:23 +00:00