[lkml]   [2011]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v3 0/3] Add support for architectural random number generator
On Sun, Jul 31, 2011 at 02:26:53PM -0700, H. Peter Anvin wrote:
> This version of the patchset uses inlines with alternatives as
> proposed by Linus. In order to avoid the issue of "random" vs
> "urandom", this hooks into *only* the kernel consumer interfaces
> get_random_bytes() and get_random_int(); this means that legacy users
> of /dev/urandom in userspace will not get direct use RDRAND, but those
> can be eventually converted to using RDRAND directly in userspace.
> We can, of course, still both pools randomness via rngd or a future
> in-kernel mechanism as proposed by Matt.
> Since there was a minor amount of confusion I want to clarify: RDRAND
> architecturally has weaker security guarantees than the documented
> interface for /dev/random, so we can't just replace all users of
> extract_entropy() with RDRAND.
> Git tree also available:
> git:// rdrand-3
> Again, for technical documentation see:

FWIW these patches look good to me and I'm happy to take them
if Linus doesn't merge them directly.

Email: Herbert Xu <>
Home Page:
PGP Key:

 \ /
  Last update: 2011-08-05 14:03    [W:0.057 / U:11.544 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site