Re: Remove All Software Generators

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

 



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.




[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