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

From: Borislav Petkov
Date: Wed Jul 06 2022 - 08:23:46 EST


On Tue, Jul 05, 2022 at 04:11:45PM -0700, H. Peter Anvin wrote:
> 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?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette