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

Dennis Clarke dclarke at blastwave.org
Tue May 21 15:51:57 UTC 2019

On 5/21/19 3:27 PM, Salz, Rich via openssl-users wrote:
>>     If it's a sarcasm, I'm missing the point.
> I was't being sarcastic, I was trying to show that the team, recently, still liked the use of floating point.
>>     There are use cases when one wants to mix/add extra randomness from, e.g., an external source (that, for whatever reasons, is trusted more than what's provided by the system).
> Then just set it to 1.0 and be done with it.

External 300 baud serial attached coin flipper also works well.

Dennis Clarke
UNIX and Linux spoken
GreyBeard and suspenders optional

More information about the openssl-users mailing list