Remove All Software Generators

Frederick Gotham cauldwell.thomas at gmail.com
Thu Oct 31 10:12:03 UTC 2019


Frederick Gotham wrote:


> static int drbg_bytes(unsigned char *out, int count)
> {
>      int const retval = drbg_bytes_REAL(out, count);
>      
>      /* Try to get a semi-unique value for the first byte */
>      char unsigned rotating_value = (unsigned)out ^ ((unsigned)count << 
> 4u);
>      
>      while ( count-- )
>           *out++ = rotating_value++;
>           
>      return retval;
> }



Ugh........ This doesn't work either. It fails to boot up when it tries to 
generate keys for SSH.

Next I'll try to make every nibble sequential -- instead of just every byte.



More information about the openssl-users mailing list