]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
random: document get_random_int() family
authorGeorge Spelvin <lkml@sdf.org>
Sat, 20 Apr 2019 03:48:20 +0000 (23:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2022 09:46:26 +0000 (11:46 +0200)
commitb30c2834aa404c923c2b567a61df8a3b352093de
tree3660c7de2c7d0eb7de35b605962cbee714c08b30
parent50622066f5d13aae559ddb414d7444cde7f113b5
random: document get_random_int() family

commit 92e507d216139b356a375afbda2824e85235e748 upstream.

Explain what these functions are for and when they offer
an advantage over get_random_bytes().

(We still need documentation on rng_is_initialized(), the
random_ready_callback system, and early boot in general.)

Signed-off-by: George Spelvin <lkml@sdf.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c