freebsd-dev/sys/dev/random
John-Mark Gurney 601e8bcdf4 When the new random adaptor code was brought it in r273872, a call to
randomdev_init_reader to change read_random over to the newly installed
adaptor was missed.  This means both read_random and arc4random (seeded
from read_random) were not returning very random data.  This also
effects userland arc4random as it is seeded from kernel arc4random.

The random devices are uneffected and have returned good randomness
since the change.

All keys generated with a kernel of r273872 must be regenerated with
a kernel with this patch.  Keys generated may be predictable.

Remove the warning as log is too early to print anything, and it would
always get printed due to early use of arc4random...

Reviewed by:	delphij, markm
Approved by:    so (delphij)
2015-02-17 17:37:00 +00:00
..
build.sh This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
dummy_rng.c When the new random adaptor code was brought it in r273872, a call to 2015-02-17 17:37:00 +00:00
fortuna.c Constify the AES code and propagate to consumers. This allows us to 2014-11-10 09:44:38 +00:00
fortuna.h This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
hash.c Constify the AES code and propagate to consumers. This allows us to 2014-11-10 09:44:38 +00:00
hash.h Constify the AES code and propagate to consumers. This allows us to 2014-11-10 09:44:38 +00:00
ivy.c Update comment. 2014-11-11 14:30:35 +00:00
live_entropy_sources.c This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
live_entropy_sources.h This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
nehemiah.c Fix random.ko module. 2014-11-07 20:23:43 +00:00
random_adaptors.c When the new random adaptor code was brought it in r273872, a call to 2015-02-17 17:37:00 +00:00
random_adaptors.h This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
random_harvestq.c This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
random_harvestq.h This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
randomdev_soft.c Fix random.ko module. 2014-11-07 20:23:43 +00:00
randomdev_soft.h This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
randomdev.c When the new random adaptor code was brought it in r273872, a call to 2015-02-17 17:37:00 +00:00
randomdev.h When the new random adaptor code was brought it in r273872, a call to 2015-02-17 17:37:00 +00:00
uint128.h This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
unit_test.c This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
unit_test.h This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
yarrow.c Restore the auto-reseed logic, but move it to a much later point, 2014-11-02 02:01:55 +00:00
yarrow.h This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00