[Drbd-dev] [PATCH v1 4/5] treewide: use get_random_bytes when possible

Kees Cook keescook at chromium.org
Thu Oct 6 06:45:22 CEST 2022


On Wed, Oct 05, 2022 at 11:48:43PM +0200, Jason A. Donenfeld wrote:
> The prandom_bytes() function has been a deprecated inline wrapper around
> get_random_bytes() for several releases now, and compiles down to the
> exact same code. Replace the deprecated wrapper with a direct call to
> the real function.

Global search/replace matches. :)

Reviewed-by: Kees Cook <keescook at chromium.org>

-- 
Kees Cook


More information about the drbd-dev mailing list