Date: Fri, 06 Oct 2017 01:06:34 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 222807] PURE entropy sources are harvested but not mixed in. Also, min-entropy low per SP800-90B measurements Message-ID: <bug-222807-8-3ib3sJELjE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-222807-8@https.bugs.freebsd.org/bugzilla/> References: <bug-222807-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222807 --- Comment #3 from Conrad Meyer <cem@freebsd.org> --- (In reply to W. Dean Freeman from comment #0) Re this patch, wouldn't this much smaller change fix the immediate issue? --- a/sys/sys/random.h +++ b/sys/sys/random.h @@ -94,7 +94,7 @@ enum random_entropy_source { ENTROPYSOURCE }; -#define RANDOM_HARVEST_EVERYTHING_MASK ((1 << (RANDOM_ENVIRONMENTAL_END + = 1)) - 1) +#define RANDOM_HARVEST_EVERYTHING_MASK ((1 << ENTROPYSOURCE) - 1) Changing the sysctl behaviors seems orthogonal to that change. Sure, the sysctls will not accurately reflect Pure sources. But they will be harvest= ed correctly, I think. Please let me know if I misunderstand. Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222807-8-3ib3sJELjE>