lkml.org 
[lkml]   [2022]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] random: remove rng_has_arch_random()
On Wed 2022-06-08 10:34:59, Jason A. Donenfeld wrote:
> With arch randomness being used by every distro and enabled in
> defconfigs, the distinction between rng_has_arch_random() and
> rng_is_initialized() is now rather small. In fact, the places where they
> differ are now places where paranoid users and system builders really
> don't want arch randomness to be used, in which case we should respect
> that choice, or places where arch randomness is known to be broken, in
> which case that choice is all the more important. So this commit just
> removes the function and its one user.
>
> Cc: Petr Mladek <pmladek@suse.com>
> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>

I am not expert on random numbers but it sounds reasonable.
Anyway, the change in vsprintf.c looks good:

Reviewed-by: Petr Mladek <pmladek@suse.com> # vsprintf.c

Best Regards,
Petr

\
 
 \ /
  Last update: 2022-06-08 12:07    [W:0.047 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site