Remove All Software Generators
Frederick Gotham
cauldwell.thomas at gmail.com
Thu Oct 31 07:48:29 UTC 2019
Frederick Gotham
<cauldwell.thomas at gmail.com> wrote:
>
> And anyway this behaviour didn't come from deleting /dev/random, but
> rather from making the default generator inside OpenSSL always give 0
> for a random byte.
I will change the random number generator built into OpenSSL to always
return sequential numbers, something like:
{
static char unsigned val = 0;
while ( num-- )
*buff++ = val++;
}
This shouldn't break anything.
Then if ever I am in doubt about where a random number came from, I just
check to see if it's something like 0102030405.
More information about the openssl-users
mailing list