Re: Remove All Software Generators

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Frederick Gotham
<cauldwell.thomas@xxxxxxxxx> 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.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux