Re: [PATCH] random: always use batched entropy for get_random_u{32,64}

From: Tony Luck
Date: Thu Feb 20 2020 - 17:20:39 EST


On Sun, Feb 16, 2020 at 10:24 AM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:

> > drivers/char/random.c | 12 ------------
> > 1 file changed, 12 deletions(-)
>
> Looks good to me, thank for doing this:
>
> Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Perhaps also needs to update the comment above these functions.

Specifically the bit that says "The quality of the random
number is either as good as RDRAND" ... since you are
no longer pulling from RDRAND it isn't true anymore.

-Tony