Thread (5 messages) 5 messages, 2 authors, 2014-07-18

Re: [PATCH] random: limit the contribution of the hw rng to at most half

From: Theodore Ts'o <tytso@mit.edu>
Date: 2014-07-18 07:16:17
Also in: lkml

On Thu, Jul 17, 2014 at 04:33:36PM -0700, H. Peter Anvin wrote:
I just want to make sure we don't negatively impact the real security of
users because of "optics".  We already have a lot of problems with
people extracting long-living keys from /dev/urandom because /dev/random
is too slow.
With a system with RDRAND, we're mixing arch_get_rand_long() as part
of the extraction process (as the seed for the SHA's IV).  So if you
trust RDRAND, then using /dev/urandom even when the entropy count is
zero is going to be secure.  If you don't trust RDRAND, then the
RDSEED entropy accounting is going to be extremely disturbing.

So the only way that we could be impacting the "real security" of
users, would be if RDRAND was back-doored, but RDSEED wasn't.  And
that doesn't seem like a terribly likely scenario to me, but what do I
know?  :-)

						- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help