commit | ca8f215ec54db947123e51d4dfede8b07daf40e9 | [log] [tgz] |
---|---|---|
author | Jason A. Donenfeld <Jason@zx2c4.com> | Wed Jun 07 20:05:02 2017 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jun 25 11:44:58 2022 +0200 |
tree | 272c58b068c385d5e7238e939e8f2e23ce43c1df | |
parent | 89548752d85e97bba241cf2c3299e8f3bac17007 [diff] |
random: add get_random_{bytes,u32,u64,int,long,once}_wait family commit da9ba564bd683374b8d319756f312821b8265b06 upstream. These functions are simple convenience wrappers that call wait_for_random_bytes before calling the respective get_random_* function. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 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>