lkml.org 
[lkml]   [2015]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH RFC] crypto: drbg - lower reseed threshold if seed source is degraded
Date
Am Dienstag, 9. Juni 2015, 23:26:05 schrieb Herbert Xu:

Hi Herbert,

> On Tue, Jun 09, 2015 at 05:22:32PM +0200, Stephan Mueller wrote:
> > Am Dienstag, 9. Juni 2015, 22:25:25 schrieb Herbert Xu:
> >
> > Hi Herbert,
> >
> > > Anyway, I'm happy to apply this. However, the patch is corrupted
> > > so please resend it without the white-space damage/line wrapping.
> >
> > As this patch would clash with the async seeding patch, shall I develop
> > this patch on top of your async patch set?
>
> Either way is fine. I can fix it up when applying as they don't
> conceptually conflict.

I see one: the reset of the threshold to the "normal" value must happen at two
places: the one place is in the async handler. The 2nd place is when the
request to random.c returns 0 (i.e. fully initialized). The 2nd location is
different between both code bases.
>
> Thanks,


--
Ciao
Stephan


\
 
 \ /
  Last update: 2015-06-09 18:21    [W:0.052 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site