All of lore.kernel.org
 help / color / mirror / Atom feed
* urandom is too slow
@ 2012-10-30 14:55 Lasse Kärkkäinen
  2012-10-30 18:54 ` Theodore Ts'o
  0 siblings, 1 reply; 6+ messages in thread
From: Lasse Kärkkäinen @ 2012-10-30 14:55 UTC (permalink / raw)
  To: linux-kernel

Apparently there has been little or no development on urandom even 
though the device is in widespread use for disk shredding and such use. 
The device emits data at rather slow rate of 19 MB/s even on modern 
hardware where other software-based PRNGs could do far better. An even 
better option seems to be utilizing AES for encrypting zeroes, using a 
random key, allowing for rates up to 500 MB/s with hardware that has 
AES-NI instructions.

Why is urandom so slow and why isn't AES hardware acceleration utilized?


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

end of thread, other threads:[~2012-11-02 19:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-30 14:55 urandom is too slow Lasse Kärkkäinen
2012-10-30 18:54 ` Theodore Ts'o
2012-10-30 20:56   ` Pádraig Brady
2012-10-30 21:38   ` Alan Cox
2012-11-02  1:10     ` Lasse Kärkkäinen
2012-11-02 19:56       ` Theodore Ts'o

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.