It's not help...
Posted May 21, 2008 8:27 UTC (Wed) by
mv (subscriber, #17258)
In reply to:
It's not help... by khim
Parent article:
Open Source Security Report
The module was designed to be good PRNG too. So statistical analysis will fail. You need to restart it many times and then calculate correlation over million FIRST results. Doable, but SLOOOW - and can be circumvented if someone left time as seed of PRNG...
The output is deterministic though, given the right input.
You could run an automated test with e.g. an LD_PRELOAD wrapper that provides replacements for getpid(), time(), gettimeofday() which return static values. Then feed the PRNG known data using RAND_seed/RAND_add and finally check the output.
That could have caught the missing use of the data provided to RAND_add in the Debian OpenSSL case.
(
Log in to post comments)