summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2020-05-10 02:56:12 +0000
committerriastradh <riastradh@NetBSD.org>2020-05-10 02:56:12 +0000
commit7b3d7e15099be259fbfb01e5b8945f6daafc5d41 (patch)
tree3fa8397916f2d4c7bce41fc41220707600e53900 /sys/dev
parent7280ed2a67208e7a6f656452a7454591f98ae53c (diff)
Make rndctl -E/-C reset entropy accounting.
If we don't trust a source, it's unreasonable to trust any entropy it previously provided, and we don't have any way to undo only the effects of that source, so just zero our estimate of the entropy in the pool and start over. (However, keep the samples already in the pool -- just treat them as though they had zero entropy and start gathering more.)
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions