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)
commit92e507d216139b356a375afbda2824e85235e748
tree1d33b4529e627068fa8a50e0b87984a1dac0951a
parentfe6f1a6a8eedc1aa538fee0baa612b6a59639cf8
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