Messages in this thread | | | From | "Jason A. Donenfeld" <> | Date | Fri, 4 Feb 2022 23:56:15 +0100 | Subject | Re: [PATCH] random: remove use_input_pool parameter from crng_reseed() |
| |
Hey Eric,
On Fri, Feb 4, 2022 at 11:18 PM Eric Biggers <ebiggers@kernel.org> wrote: > The primary_crng is always reseeded from the input_pool, while the NUMA > crngs are always reseeded from the primary_crng. Remove the redundant > 'use_input_pool' parameter from crng_reseed() and just directly check > whether the crng is the primary_crng.
Nice simplification, thanks.
Jason
| |