boringssl/crypto/fipsmodule/rand
David Benjamin 2e819d8be4 Unwind RDRAND functions correctly on Windows.
But for the ABI conversion bits, these are just leaf functions and don't
even need unwind tables. Just renumber the registers on Windows to only
used volatile ones.

In doing so, this switches to writing rdrand explicitly. perlasm already
knows how to manually encode it and our minimum assembler versions
surely cover rdrand by now anyway. Also add the .size directive. I'm not
sure what it's used for, but the other files have it.

(This isn't a generally reusable technique. The more complex functions
will need actual unwind codes.)

Bug: 259
Change-Id: I1d5669bcf8b6e34939885d78aea6f60597be1528
Reviewed-on: https://boringssl-review.googlesource.com/c/34867
Commit-Queue: Adam Langley <agl@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2019-02-12 20:24:27 +00:00
..
asm Unwind RDRAND functions correctly on Windows. 2019-02-12 20:24:27 +00:00
ctrdrbg_test.cc Fix miscellaneous clang-tidy warnings. 2017-08-01 20:39:46 +00:00
ctrdrbg_vectors.txt Move much of rand/ into the FIPS module. 2017-04-21 22:03:18 +00:00
ctrdrbg.c Don't use bsaes over vpaes for CTR-DRBG. 2019-02-01 18:03:39 +00:00
internal.h Unwind RDRAND functions correctly on Windows. 2019-02-12 20:24:27 +00:00
rand.c Unwind RDRAND functions correctly on Windows. 2019-02-12 20:24:27 +00:00
urandom.c Fix the build on glibc 2.15. 2018-10-24 17:39:48 +00:00