Re: [PATCH] random: add blocking facility to urandom

From: Thomas Gleixner
Date: Fri Sep 09 2011 - 17:27:51 EST


On Fri, 9 Sep 2011, Steve Grubb wrote:
> But what I was trying to say is that we can't depend on these supplemental hardware
> devices like TPM because we don't have access to the proprietary technical details
> that would be necessary to supplement the analysis. And when it comes to TPM chips, I
> bet each chip has different details and entropy sources and entropy estimations and
> rates. Those details we can't get at, so we can't solve the problem by including that
> hardware. That is the point I was trying to make. :)

Well, there is enough prove out there that the hardware you're using
is a perfect random number generator by itself.

So stop complaining about not having access to TPM chips if you can
create an entropy source just by (ab)using the inherent randomness of
modern CPU architectures to refill your entropy pool on the fly when
the need arises w/o imposing completely unintuitive thresholds and
user visible API changes.

Thanks,

tglx


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/