Thread (24 messages) 24 messages, 9 authors, 2022-08-12

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

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2022-07-06 16:43:37
Also in: linux-arm-kernel, linux-s390, lkml

On July 6, 2022 5:23:31 AM PDT, Borislav Petkov [off-list ref] wrote:
On Tue, Jul 05, 2022 at 04:11:45PM -0700, H. Peter Anvin wrote:
quoted
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.
I guess you can add some logic to rdrand_long() to sanity-check what it
returns...

But would that be worth the effort?
I think doing it centrally, as non-arch-specific code, and letting it subsume ad hoc checks for known failure conditions could be a win.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help