openssl/crypto/rand
Dr. Matthias St. Pierre ad416c8058 Revert the DEVRANDOM_WAIT feature
The DEVRANDOM_WAIT feature added a select() call to wait for the
`/dev/random` device to become readable before reading from the
`/dev/urandom` device. It was introduced in commit 38023b87f0
in order to mitigate the fact that the `/dev/urandom` device
does not block until the initial seeding of the kernel CSPRNG
has completed, contrary to the behaviour of the `getrandom()`
system call.

It turned out that this change had negative side effects on
performance which were not acceptable. After some discussion it
was decided to revert this feature and leave it up to the OS
resp. the platform maintainer to ensure a proper initialization
during early boot time.

Fixes 

This partially reverts commit 38023b87f0.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>

(cherry picked from commit a08714e181)

(Merged from https://github.com/openssl/openssl/pull/9118)
2019-06-09 09:53:39 +02:00
..
build.info crypto/rand: rename drbg_rand.c to drbg_ctr.c 2018-01-04 11:47:30 +10:00
drbg_ctr.c DRBG: fix reseeding via RAND_add()/RAND_seed() with large input 2018-10-16 22:32:42 +02:00
drbg_lib.c Update copyright year 2019-05-28 14:49:38 +02:00
rand_egd.c Update copyright year 2018-05-29 13:16:04 +01:00
rand_err.c DRBG: fix reseeding via RAND_add()/RAND_seed() with large input 2018-10-16 22:32:42 +02:00
rand_lcl.h Test: link drbgtest statically against libcrypto 2018-11-08 16:32:30 +01:00
rand_lib.c Fix broken change from b3d113e. 2019-05-30 11:47:59 +02:00
rand_unix.c Revert the DEVRANDOM_WAIT feature 2019-06-09 09:53:39 +02:00
rand_vms.c Update copyright year 2019-05-28 14:49:38 +02:00
rand_win.c Update copyright year 2019-05-28 14:49:38 +02:00
randfile.c Update copyright year 2019-05-28 14:49:38 +02:00