601e8bcdf4
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) |
||
---|---|---|
.. | ||
build.sh | ||
dummy_rng.c | ||
fortuna.c | ||
fortuna.h | ||
hash.c | ||
hash.h | ||
ivy.c | ||
live_entropy_sources.c | ||
live_entropy_sources.h | ||
nehemiah.c | ||
random_adaptors.c | ||
random_adaptors.h | ||
random_harvestq.c | ||
random_harvestq.h | ||
randomdev_soft.c | ||
randomdev_soft.h | ||
randomdev.c | ||
randomdev.h | ||
uint128.h | ||
unit_test.c | ||
unit_test.h | ||
yarrow.c | ||
yarrow.h |