On Wed, May 04, 2016 at 09:10:07PM -0400, Theodore Ts'o wrote:
> On Wed, May 04, 2016 at 10:28:24PM +0200, Stephan Mueller wrote:
> > > +out:
> > > + spin_unlock_irqrestore(&primary_crng.lock, flags);
> > > + return ret;
> >
> > Where did you add the memzero_explict of tmp?
>
> Oops, sorry, someh
On Wed, May 04, 2016 at 10:28:24PM +0200, Stephan Mueller wrote:
> > +out:
> > + spin_unlock_irqrestore(&primary_crng.lock, flags);
> > + return ret;
>
> Where did you add the memzero_explict of tmp?
Oops, sorry, somehow that change got lost in the patch updates. Fixed now.
Am Mittwoch, 4. Mai 2016, 15:25:48 schrieb Theodore Ts'o:
Hi Theodore,
> The CRNG is faster, and we don't pretend to track entropy usage in the
> CRNG any more.
>
> Signed-off-by: Theodore Ts'o
> ---
> crypto/chacha20_generic.c | 61 --
> drivers/char/random.c | 283
>