4 ms·
How can a TPM provide as "real" random values as a quantum vacuum? (or cosmic rays, or anything else very much random in nature)
by skrebbel 15y ago
How can a TPM provide as "real" random values as a quantum vacuum? (or cosmic rays, or anything else very much random in nature)
- JoachimSchipper 15y agoAccording to http://www.outflux.net/blog/archives/2009/10/22/tpm-as-rng/#comment-793 http://www.outflux.net/blog/archives/2009/10/22/tpm-as-rng/#..., TPM may even be using PRNGs. So you're right that the quality of output need not be better than what a modern OS already provides. (I am not aware of any case where a properly-used /dev/random failed to produce sufficient entropy. Note that doing something sensible at boot is part of "properly-used" here.) It is possible to provide true randomness from a chip, but it's probably cheaper not to.
- __alexs 15y agoThe Intel TRNG design used for RdRand in Ivy Bridge has an impressively low transistor count so I don't think die-cost alone is the issue. http://spectrum.ieee.org/semiconductors/processors/behind-intels-new-randomnumber-generator/0 http://spectrum.ieee.org/semiconductors/processors/behind-in... http://en.wikipedia.orghwiki/RdRand http://en.wikipedia.orghwiki/RdRand I suspect they just didn't consider RNG quality as a big factor in the usefulness of the design. TPM pre-dates the recent advances in on-die TRNG design. Plus the chip tends to live on a low-speed bus on the system which makes it inherently a bit crappy as a place to keep a high-bandwidth application like an RNG.
- mike-cardwell 15y agoWhen did I say that it does? The randomness of the data is entirely down to the implementation. Personally I'd trust the random data supplied by a third party web service less than the pseudo-random data that the software on my local machine produces. Especially if you mix in data from a TPM, especially if you mix in data from an Entropy Key as well.
- hessenwolf 15y agoYes, this is a real issue. There's no way I'd get that past a financial regulator.