diff options
author | Mark Murray <markm@FreeBSD.org> | 2018-08-26 12:51:46 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2018-08-26 12:51:46 +0000 |
commit | 19fa89e93888ebfe79d06c7b831bcd39001dce63 (patch) | |
tree | 8f0f5d7e4726f1bfb1272ba4d7410195426135e1 /sys/dev/safe | |
parent | a1b042f79d71a3a444aef1281fa61ccd45064c6a (diff) | |
download | src-19fa89e93888ebfe79d06c7b831bcd39001dce63.tar.gz src-19fa89e93888ebfe79d06c7b831bcd39001dce63.zip |
Remove the Yarrow PRNG algorithm option in accordance with due notice
given in random(4).
This includes updating of the relevant man pages, and no-longer-used
harvesting parameters.
Ensure that the pseudo-unit-test still does something useful, now also
with the "other" algorithm instead of Yarrow.
PR: 230870
Reviewed by: cem
Approved by: so(delphij,gtetlow)
Approved by: re(marius)
Differential Revision: https://reviews.freebsd.org/D16898
Notes
Notes:
svn path=/head/; revision=338324
Diffstat (limited to 'sys/dev/safe')
-rw-r--r-- | sys/dev/safe/safe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/safe/safe.c b/sys/dev/safe/safe.c index a1673c9cd60f..0edaea85f5b6 100644 --- a/sys/dev/safe/safe.c +++ b/sys/dev/safe/safe.c @@ -212,7 +212,7 @@ static void default_harvest(struct rndtest_state *rsp, void *buf, u_int count) { /* MarkM: FIX!! Check that this does not swamp the harvester! */ - random_harvest_queue(buf, count, count*NBBY/2, RANDOM_PURE_SAFE); + random_harvest_queue(buf, count, RANDOM_PURE_SAFE); } #endif /* SAFE_NO_RNG */ |