boringssl/crypto/rand_extra
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
..
deterministic.c
forkunsafe.c Remove pooling of PRNG state. 2019-01-03 20:19:44 +00:00
fuchsia.c [fuchsia] Update to zx_cprng_draw 2018-06-28 21:08:18 +00:00
rand_extra.c
rand_test.cc Unwind RDRAND functions correctly on Windows. 2019-02-12 20:24:27 +00:00
windows.c