]> git.baikalelectronics.ru Git - kernel.git/commit
random: document get_random_int() family
authorGeorge Spelvin <lkml@sdf.org>
Sat, 20 Apr 2019 03:48:20 +0000 (23:48 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 20 Apr 2019 03:48:25 +0000 (23:48 -0400)
commit25454c9864f33b4f7f4ff29e663493910ee54946
tree1d33b4529e627068fa8a50e0b87984a1dac0951a
parenta44ea0843c3e1465a2fb212f80b3ea08e52f0bf8
random: document get_random_int() family

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>
drivers/char/random.c