Re: [PATCH] Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Arjan van de Ven <arjan@...>
Cc: Chris Peterson <cpeterso@...>, Herbert Xu <herbert@...>, Alan Cox <alan@...>, Jeff Garzik <jeff@...>, <netdev@...>, <linux-kernel@...>, Andrew Morton <akpm@...>, Brandeburg, Jesse <jesse.brandeburg@...>, <tpmdd-devel@...>, <tpm@...>
Date: Sunday, May 18, 2008 - 6:13 am

> I think the big kicker is the difference between a session key (short

We don't use it for most long term keys, e.g. ssh host keys. That is
because even on high entropy systems /dev/random usually doesn't work
during distribution installation because the system has not run long
enough to collect significant entropy yet.

See also the distinction between "user controlled visible cryptography"
and "background cryptography" I introduced in a earlier mail on that
topic. gpg can only get away with it because they rely on a high level
of user education (so requiring banging on keys is ok), but that's
not really an option for your normal "everyday background crypto",
including longer term keys.

So yes it's a nice theory, but without using the available randomness
sources always it doesn't work.

Instead I think just both urandom and random should try to rely
on TPMs and other hardware rngs and always get high quality bit noise.

-Andi


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [PATCH] drivers/net: remove network drivers' last few us..., Brandeburg, Jesse, (Thu May 15, 12:07 pm)
Re: [PATCH] drivers/net: remove network drivers' last few us..., Alejandro Riveira , (Mon May 26, 9:43 am)
Re: [PATCH] drivers/net: remove network drivers' last few us..., Lennart Sorensen, (Fri May 16, 10:15 am)
Re: [PATCH] drivers/net: remove network drivers' last few us..., Henrique de Moraes Holschuh..., (Thu May 15, 6:29 pm)
Re: [PATCH] drivers/net: remove network drivers' last few us..., Henrique de Moraes Holschuh..., (Thu May 15, 7:58 pm)
Re: [PATCH] drivers/net: remove network drivers' last few us..., Henrique de Moraes Holschuh..., (Thu May 15, 7:02 pm)
Re: [PATCH] drivers/net: remove network drivers' last few us..., Henrique de Moraes Holschuh..., (Thu May 15, 7:46 pm)
Re: [PATCH] Re: [PATCH] drivers/net: remove network drivers'..., Andi Kleen, (Sun May 18, 6:13 am)