summaryrefslogtreecommitdiff
path: root/include/linux/net.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-06-07 19:58:56 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-06-19 22:06:28 -0400
commite297a783e41560b44e3c14f38e420cba518113b8 (patch)
treea41cb88b534c7e50faa9ae889d825b5c6db8a9b7 /include/linux/net.h
parent4a072c71f49b0a0e495ea13423bdb850da73c58c (diff)
random: add wait_for_random_bytes() API
This enables users of get_random_{bytes,u32,u64,int,long} to wait until the pool is ready before using this function, in case they actually want to have reliable randomness. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/net.h')
0 files changed, 0 insertions, 0 deletions