Re: [PATCH] random: remove CONFIG_ARCH_RANDOM and "nordrand"

From
H. Peter Anvin <hpa@zytor.com>
Date
2022-07-05 23:12:31
Also in
linux-arm-kernel, linux-s390, lkml
Reply to
Borislav Petkov, 2022-07-05
On July 5, 2022 3:00:04 PM PDT, Borislav Petkov [off-list ref] wrote:
On Tue, Jul 05, 2022 at 02:50:34PM -0700, H. Peter Anvin wrote:
quoted
It's just math. The only variable is your confidence level, i.e. at
what level do you decide that the likelihood of pure chance is way
smaller than the likelihood of hardware failure.
That might be but the likelyhood of certain BIOSes dropping the ball
after resume is 100%:

7879fc4bdc75 ("x86/rdrand: Sanity-check RDRAND output")
What I'm wondering is if we shouldn't be simply instrument *every* invocation, and set the trust to zero if we ever trip it.
Thread (24 messages) 24 messages, 9 authors, last reply 2022-08-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help