lkml.org 
[lkml]   [2013]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:x86/kaslr] x86, kaslr: Provide randomness functions
On 11/11/2013 11:58 AM, Ingo Molnar wrote:
>>
>> Use the i8254 if and only if nothing else is available, it isn't safe to
>> touch on some newer systems.
>
> I concur - the i8254 is probably also a low entry source, given that this
> all runs early bootup.
>

Well, it is a 16-bit 1.19318 MHz counter so at least on older systems it
is likely to provide at least a modicum on entropy. On systems with a
TSC it is likely to be redundant with the TSC.

> In any case there's no excuse for not mixing RDRAND and RDTSC entropy.

-hpa




\
 
 \ /
  Last update: 2013-11-11 21:41    [W:0.655 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site