Re: [PATCH] KEYS: encrypted: Remove unnecessary selection of CRYPTO_RNG
From: Eric Biggers
Date: Tue Mar 24 2026 - 20:02:34 EST
On Tue, Mar 24, 2026 at 07:46:10PM -0400, Mimi Zohar wrote:
> Hi Eric,
>
> On Sat, 2026-03-21 at 15:42 -0700, Eric Biggers wrote:
> > encrypted-keys uses the regular Linux RNG (get_random_bytes()), not the
> > duplicative crypto_rng one. So it does not need to select CRYPTO_RNG.
> >
> > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> Reviewed-by: Mimi Zohar <zohar@xxxxxxxxxxxxx>
>
> > ---
> >
> > This patch is targeting the keyrings tree
>
> Not sure what you mean by targeting the keyrings tree. I can definitely queue
> it.
Last time I sent a patch for encrypted-keys, Jarkko took it. If you'd
like to take it instead, that's fine with me. As long as someone does
it. Thanks,
- Eric