]> git.itanic.dy.fi Git - linux-stable/commit
random: modernize documentation comment on get_random_bytes()
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 4 Nov 2022 11:47:43 +0000 (12:47 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 18 Nov 2022 01:18:10 +0000 (02:18 +0100)
commit19258d05b619d26622bdcfa11eca1f457b69e4da
treed48065b5a00f013dbcea85a255a882737d486b7b
parentb240bab51888d5c8e389dc179d7c67a869587148
random: modernize documentation comment on get_random_bytes()

The prior text was very old and made outdated references to TCP sequence
numbers, which should use one of the integer functions instead, since
batched entropy was introduced. The current way of describing the
quality of functions is just to say that it's as good as /dev/urandom,
which now all the functions are.

Fixes: f5b98461cb81 ("random: use chacha20 for get_random_int/long")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
drivers/char/random.c