Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2018 02:28:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194204] getentropy(2): sys call from openbsd
Message-ID:  <bug-194204-8-6pIRP3PBqH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194204-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194204-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=3D194204

--- Comment #8 from Ed Maste <emaste@freebsd.org> ---
(In reply to Mateusz Guzik from comment #5)
> I don't think we should provide a syscall with weaker randomness than one
> provided with original implementation.

I think that's the wrong way to look at it; if we have a weak CSPRNG that n=
eeds
to be fixed, regardless of the mechanism by which userland obtains entropy =
from
kernel.

I believe it is worthwhile for us to add the getentropy syscall, but the
approach we use today (the kern.arandom sysctl) is in practice largely
equivalent.

--=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-194204-8-6pIRP3PBqH>