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

Richard Levitte levitte at openssl.org
Wed May 22 01:58:17 UTC 2019



"Salz, Rich via openssl-users" <openssl-users at openssl.org> skrev: (21 maj 2019 17:27:44 CEST)
>>    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.

That hardly helps on systems that don't have floating point at all. 

Cheers 
Richard 
>        
>        
>    

-- 
Skickat från min Android-enhet med K-9 Mail. Ursäkta min fåordighet.


More information about the openssl-users mailing list