Re: [PATCH v4 2/6] random: Async and sync API for accessing kernel_pool

2015-05-04 Thread Sandy Harris
On Sun, May 3, 2015 at 11:33 AM, Stephan Mueller wrote: > The kernel_pool is intended to be the in-kernel equivalent to the > blocking_pool, i.e. requests for random data may be blocked if > insufficient entropy is present. I cannot see any reason this would be useful, let alone necessary. Of c

[PATCH v4 2/6] random: Async and sync API for accessing kernel_pool

2015-05-03 Thread Stephan Mueller
The kernel_pool is intended to be the in-kernel equivalent to the blocking_pool, i.e. requests for random data may be blocked if insufficient entropy is present. The added API calls provide a synchronous function call get_blocking_random_bytes where the caller is blocked. In addition, an asynchro