linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RNG: is it possible to spoil /dev/random by seeding it from (evil) TRNGs
@ 2012-10-04 13:32 Christoph Anton Mitterer
  2012-10-04 22:49 ` Theodore Ts'o
  0 siblings, 1 reply; 5+ messages in thread
From: Christoph Anton Mitterer @ 2012-10-04 13:32 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi.

This is a question towards the crypto/entropy experts.

When seeding the kernels entropy cache (which is then ultimately used
for /dev/random), e.g. by (semi-)TRNGs like haveged[0],
audio-entropyd[1], Simtec’s Entropy Key[2] or friends... can one spoil
the randomness by that or is this impossible by design?

Of course it's easy to check the distribution of these randomness
sources, but as we see on the plain Mersenne Twister, a "perfect"
distribution is not necessarily usable for cryptography.


Further, one could imagine that closed products like the Entropy Key are
hacked or have backdoors, which may make them produce subtle patterns
that could later be used in cryptoanalysis.
(This is in no way a claim, that Simtec would do this,... just an
example.)


Cheers,
Chris.



[0] http://www.issihosts.com/haveged/
[1] http://www.vanheusden.com/aed/
[2] http://www.entropykey.co.uk/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-10  1:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-04 13:32 RNG: is it possible to spoil /dev/random by seeding it from (evil) TRNGs Christoph Anton Mitterer
2012-10-04 22:49 ` Theodore Ts'o
2012-10-08  0:41   ` Christoph Anton Mitterer
2012-10-08  1:24     ` Theodore Ts'o
2012-10-10  1:09       ` Christoph Anton Mitterer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).