linux-stable/drivers/net/wireguard/selftest
Jason A. Donenfeld 197173db99 treewide: use get_random_bytes() when possible
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. This was done as a basic find and replace.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Yury Norov <yury.norov@gmail.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> # powerpc
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-10-11 17:42:58 -06:00
..
allowedips.c treewide: use get_random_bytes() when possible 2022-10-11 17:42:58 -06:00
counter.c wireguard: noise: separate receive counter from send counter 2020-05-20 20:55:09 -07:00
ratelimiter.c wireguard: ratelimiter: disable timings test by default 2022-09-20 11:26:13 -07:00