lkml.org 
[lkml]   [2014]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v3 2/5] random,x86: Add arch_get_slow_rng_u64
On Jul 16, 2014 4:00 PM, "H. Peter Anvin" <hpa@zytor.com> wrote:
>
> On 07/16/2014 03:40 PM, Andy Lutomirski wrote:
> > On Wed, Jul 16, 2014 at 3:13 PM, Andy Lutomirski <luto@amacapital.net> wrote:
> >> My personal preference is to defer this until some user shows up. I
> >> think that even this would be too complicated for KASLR, which is the
> >> only extremely early-boot user that I found.
> >>
> >> Hmm. Does the prandom stuff want to use this?
> >
> > prandom isn't even using rdrand. I'd suggest fixing this separately,
> > or even just waiting until someone goes and deletes prandom.
> >
>
> prandom is exactly the opposite; it is designed for when we need
> possibly low quality random numbers very quickly. RDRAND is actually
> too slow.

I meant that prandom isn't using rdrand for early seeding.

--Andy

>
> -hpa
>
>


\
 
 \ /
  Last update: 2014-07-17 02:41    [W:2.679 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site