Re: [RFC PATCH] char: random: stir the output pools differently when the random_write lenght allows splitting the seed

2014-01-30 Thread Rafael Aquini
On Fri, Jan 10, 2014 at 01:32:10PM +0100, Clemens Ladisch wrote: > Stephan Mueller wrote: > > Am Freitag, 10. Januar 2014, 12:37:26 schrieb Clemens Ladisch: > >> Stephan Mueller wrote: > >>> Am Freitag, 10. Januar 2014, 09:13:57 schrieb Clemens Ladisch: > Rafael Aquini wrote: > > This patc

Re: [RFC PATCH] char: random: stir the output pools differently when the random_write lenght allows splitting the seed

2014-01-10 Thread Rafael Aquini
On Fri, Jan 10, 2014 at 12:37:26PM +0100, Clemens Ladisch wrote: > Stephan Mueller wrote: > > Am Freitag, 10. Januar 2014, 09:13:57 schrieb Clemens Ladisch: > >> Rafael Aquini wrote: > >>> This patch introduces changes to the random_write method so it can > >>> split the given seed and completely s

Re: [RFC PATCH] char: random: stir the output pools differently when the random_write lenght allows splitting the seed

2014-01-10 Thread Clemens Ladisch
Stephan Mueller wrote: > Am Freitag, 10. Januar 2014, 12:37:26 schrieb Clemens Ladisch: >> Stephan Mueller wrote: >>> Am Freitag, 10. Januar 2014, 09:13:57 schrieb Clemens Ladisch: Rafael Aquini wrote: > This patch introduces changes to the random_write method so it can > split the giv

Re: [RFC PATCH] char: random: stir the output pools differently when the random_write lenght allows splitting the seed

2014-01-10 Thread Stephan Mueller
Am Freitag, 10. Januar 2014, 12:37:26 schrieb Clemens Ladisch: Hi Clemens, >Stephan Mueller wrote: >> Am Freitag, 10. Januar 2014, 09:13:57 schrieb Clemens Ladisch: >>> Rafael Aquini wrote: This patch introduces changes to the random_write method so it can split the given seed and compl

Re: [RFC PATCH] char: random: stir the output pools differently when the random_write lenght allows splitting the seed

2014-01-10 Thread Clemens Ladisch
Stephan Mueller wrote: > Am Freitag, 10. Januar 2014, 09:13:57 schrieb Clemens Ladisch: >> Rafael Aquini wrote: >>> This patch introduces changes to the random_write method so it can >>> split the given seed and completely stir the output pools with >>> different halves of it, when seed lenght allo

Re: [RFC PATCH] char: random: stir the output pools differently when the random_write lenght allows splitting the seed

2014-01-10 Thread Stephan Mueller
Am Freitag, 10. Januar 2014, 09:13:57 schrieb Clemens Ladisch: Hi Clemens, >Rafael Aquini wrote: >> This patch introduces changes to the random_write method so it can >> split the given seed and completely stir the output pools with >> different halves of it, when seed lenght allows us doing so.

Re: [RFC PATCH] char: random: stir the output pools differently when the random_write lenght allows splitting the seed

2014-01-10 Thread Clemens Ladisch
Rafael Aquini wrote: > This patch introduces changes to the random_write method so it can split the > given seed and completely stir the output pools with different halves of it, > when seed lenght allows us doing so. > > - ret = write_pool(&blocking_pool, buffer, count); > + ret = write_po

[RFC PATCH] char: random: stir the output pools differently when the random_write lenght allows splitting the seed

2014-01-09 Thread Rafael Aquini
Since commit "7f397dc random: fix seeding with zero entropy" we are adding data from zero-entropy random_writes directly to output pools. We can leverage the fact the seed used for such case is usually long enough to completely stir all bits from the input pool which is, by default, 4 times longer