lkml.org 
[lkml]   [2012]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjecturandom is too slow
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?



\
 
 \ /
  Last update: 2012-10-30 16:01    [W:0.181 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site