FreeBSD Bugzilla – Attachment 186937 Details for
Bug 222807
PURE entropy sources are harvested but not mixed in. Also, min-entropy low per SP800-90B measurements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
changes maxpoolsize from UINT_MAX to INT_MAX per jmg comment
poolsize.patch (text/plain), 869 bytes, created by
W. Dean Freeman
on 2017-10-06 01:44:50 UTC
(
hide
)
Description:
changes maxpoolsize from UINT_MAX to INT_MAX per jmg comment
Filename:
MIME Type:
Creator:
W. Dean Freeman
Created:
2017-10-06 01:44:50 UTC
Size:
869 bytes
patch
obsolete
>From c104552326c80f4abc5a82c8f0ca8276ce23c4bf Mon Sep 17 00:00:00 2001 >From: "W. Dean Freeman" <badfilemagic@gmail.com> >Date: Sat, 30 Sep 2017 21:00:22 +0000 >Subject: [PATCH] changed the max pool size from UINT_MAX to INT_MAX > >--- > sys/dev/random/fortuna.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/sys/dev/random/fortuna.c b/sys/dev/random/fortuna.c >index 666652d108372..f0b26f60023cb 100644 >--- a/sys/dev/random/fortuna.c >+++ b/sys/dev/random/fortuna.c >@@ -91,7 +91,7 @@ __FBSDID("$FreeBSD$"); > * and too small may compromise initial security but get faster reseeds. > */ > #define RANDOM_FORTUNA_MINPOOLSIZE 16 >-#define RANDOM_FORTUNA_MAXPOOLSIZE UINT_MAX >+#define RANDOM_FORTUNA_MAXPOOLSIZE INT_MAX > CTASSERT(RANDOM_FORTUNA_MINPOOLSIZE <= RANDOM_FORTUNA_DEFPOOLSIZE); > CTASSERT(RANDOM_FORTUNA_DEFPOOLSIZE <= RANDOM_FORTUNA_MAXPOOLSIZE); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 222807
:
186932
|
186933
| 186937