jtulak at redhat.com
Mon Jan 6 12:27:21 UTC 2014
On Monday 06 of January 2014 12:16:44 Nikos Mavrogiannopoulos wrote:
> Hello and welcome. Some questions based on your description of rdrand.
> How would you expect someone to use this library? I mean if /dev/urandom
> is more portable why use the rdrand tool or library? Also how does your
> project relates to rng-tools that do use the hardware generator to
> feed /dev/random?
The main reason? Performance. On my machine, /dev/random has output about 400
KiB/s, urandom about 15 MiB/s, while RdRand has about 730 MiB/s. :-)
Furthermore, the library aims to allows easy-to-use high quality RNG - one
just needs to include the header and call one function (no need to initialize
a seed...) to generate as many bytes of randomness as he or she wants.
The idea of this library came up from RH (it is on http://thesis-managementsystem.rhcloud.com, unfortunately this one is not in English), and
while the main goal of my thesis is to document properties of RdRand
(performance, security, ...), the software can be useful also for other people
- so I'm making the package.
More information about the devel