Re: [PATCH] KEYS: encrypted: Remove unnecessary selection of CRYPTO_RNG

From: Eric Biggers

Date: Sat Apr 04 2026 - 16:11:02 EST


On Tue, Mar 24, 2026 at 05:02:27PM -0700, Eric Biggers wrote:
> 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,

Anyone planning to take this? It's not in linux-next yet.

- Eric