Re: [PATCHv5] random: Make /dev/random wait for input_pool initializedy

2019-02-22 Thread Bernd Edlinger
On 2/22/19 12:18 AM, Theodore Y. Ts'o wrote: > The whole premise of reading from /dev/random is that it should only > allow reads up to available estimated entropy. I'm assuming here that > sane users of /dev/random will be reading in chunks of at least 128 > bits, reading smaller amounts for, say

Re: [PATCHv5] random: Make /dev/random wait for input_pool initializedy

2019-02-21 Thread Theodore Y. Ts'o
On Thu, Feb 21, 2019 at 07:24:14PM +, Bernd Edlinger wrote: > > My observation, with a previous attempt (v3) of my patch is that a system > where only interrupt randomness is available it takes typically 2 minutes > to accomplish the initial seeding of the CRNG, if from there one has to > wait

Re: [PATCHv5] random: Make /dev/random wait for input_pool initializedy

2019-02-21 Thread Bernd Edlinger
Hi Theodore, On 2/21/19 1:32 AM, Theodore Y. Ts'o wrote: > Hi Brend, > > I've been looking at your patch, and as far as the core part of what > you're patching, I think this patch below is a conceptually simpler > way of fixing the original core problem. Please take a look and let > me know what

Re: [PATCHv5] random: Make /dev/random wait for input_pool initializedy

2019-02-20 Thread Theodore Y. Ts'o
Hi Brend, I've been looking at your patch, and as far as the core part of what you're patching, I think this patch below is a conceptually simpler way of fixing the original core problem. Please take a look and let me know what you think. There are some other auxiliary things that your patch is