Re: [PATCH] KEYS: encrypted: Remove unnecessary selection of CRYPTO_RNG
From: Jarkko Sakkinen
Date: Wed Apr 08 2026 - 04:43:35 EST
On Sat, Apr 04, 2026 at 01:09:42PM -0700, Eric Biggers wrote:
> 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.
It has been holiday season but I applied it. Later today I'll update my
next branch.
>
> - Eric
BR, Jarkko