lkml.org 
[lkml]   [2022]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2022-02-04 23:57    [W:0.037 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site