]> git.baikalelectronics.ru Git - kernel.git/commit
random: Blocking API for accessing nonblocking_pool
authorStephan Mueller <smueller@chronox.de>
Mon, 25 May 2015 13:08:47 +0000 (15:08 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 27 May 2015 09:51:53 +0000 (17:51 +0800)
commitca80c029b5195df86e56c4d4b99c0e9ba81a76b1
tree651637281b51655197049065eeba784d3404ac6b
parent524fca8ef2d05ce9b8b964015cd4d5ce96f8168b
random: Blocking API for accessing nonblocking_pool

The added API calls provide a synchronous function call
get_blocking_random_bytes where the caller is blocked until
the nonblocking_pool is initialized.

CC: Andreas Steffen <andreas.steffen@strongswan.org>
CC: Theodore Ts'o <tytso@mit.edu>
CC: Sandy Harris <sandyinchina@gmail.com>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/random.c
include/linux/random.h