Re: why does RAND_add() take "randomness" as a "double"?

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

 



On 5/21/2019 10:07 PM, Salz, Rich via openssl-users wrote:
     >Then just set it to 1.0 and be done with it.
    That hardly helps on systems that don't have floating point at all.

No it doesn't.  Such systems aren't supported by OpenSSL.  There are many places were floating point is used/supported.
Removing the second arg to RAND_add is the least of the problems (look at various asm files)

The assembler code can be bypassed on those systems.

I see a few places where it's used to force an alignment, but perhaps there's another way.

It's used in test programs to report performance.

For us, the random number generator was the problem.






[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