Various RAND improvements
authorRich Salz <rsalz@openssl.org>
Mon, 7 Aug 2017 23:21:36 +0000 (19:21 -0400)
committerRich Salz <rsalz@openssl.org>
Mon, 7 Aug 2017 23:34:33 +0000 (19:34 -0400)
commit9ed79d8ee1ef845fce94739787d45ad03f675eaa
tree3fa03425d21306ebc98803c696515d80775cc369
parentdb854bb14a7010712cfc02861731399b1b587474
Various RAND improvements

Try to put DRBG and rand_bytes buffers in secure heap
Read the TSC fewer times (but it's still not enabled).
Short-circuit return in win RAND_poll_ex; other minor tweaks and
format-fixes.
Use the _bytes version of rdrand/rdseed
Fix ia32cap checks.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/4100)
crypto/rand/rand_lcl.h
crypto/rand/rand_lib.c
crypto/rand/rand_win.c