lkml.org 
[lkml]   [2014]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 4/4] random: Add arch_has_random[_seed]()
On 03/17/2014 08:44 PM, Benjamin Herrenschmidt wrote:
> On Mon, 2014-03-17 at 16:36 -0700, H. Peter Anvin wrote:
>> Add predicate functions for having arch_get_random[_seed]*(). The
>> only current use is to avoid the loop in arch_random_refill() when
>> arch_get_random_seed_long() is unavailable.
>
> Paul, I think our HW rng on P7+ and later would qualify no ?
>
> Cheers,
> Ben.

Just to be clear: since I don't know the parameters of the PowerPC hwrng
I just put in the stub functions, leaving it up to you to analyze if it
is suitable and analyze it. Do let me know if I can be of any
assistance, of course.

-hpa





\
 
 \ /
  Last update: 2014-03-18 20:21    [W:0.050 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site