Re: [PATCH] random: add regrand

2017-11-11 Thread Jörn Engel
On Sat, Nov 11, 2017 at 01:22:38PM -0500, Theodore Ts'o wrote: > On Fri, Nov 10, 2017 at 04:23:21PM -0800, Jörn Engel wrote: > > On Fri, Nov 10, 2017 at 06:52:12PM -0500, Theodore Ts'o wrote: > > > Couple of quick comments. The code as it exists is horrifically x86 > > > specific. For example:

Re: [PATCH] random: add regrand

2017-11-11 Thread Jörn Engel
On Sat, Nov 11, 2017 at 01:22:38PM -0500, Theodore Ts'o wrote: > On Fri, Nov 10, 2017 at 04:23:21PM -0800, Jörn Engel wrote: > > On Fri, Nov 10, 2017 at 06:52:12PM -0500, Theodore Ts'o wrote: > > > Couple of quick comments. The code as it exists is horrifically x86 > > > specific. For example:

Re: [PATCH] random: add regrand

2017-11-10 Thread Jörn Engel
Forgot to Cc: linux-kernel. On Fri, Nov 10, 2017 at 01:30:39PM -0800, Jörn Engel wrote: > Regrand is a replacement for drivers/char/random.c. It is supposed to > achieve the following design goals: > > 1. /dev/random shall never block. > 2. /dev/urandom shall never return bad randomness. > 3.

Re: [PATCH] random: add regrand

2017-11-10 Thread Jörn Engel
Forgot to Cc: linux-kernel. On Fri, Nov 10, 2017 at 01:30:39PM -0800, Jörn Engel wrote: > Regrand is a replacement for drivers/char/random.c. It is supposed to > achieve the following design goals: > > 1. /dev/random shall never block. > 2. /dev/urandom shall never return bad randomness. > 3.