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

Salz, Rich rsalz at akamai.com
Wed May 22 02:07:28 UTC 2019


    >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)



More information about the openssl-users mailing list