[ntp:hackers] RANDFILE requirement for non-crypto setup?

Danny Mayer mayer at ntp.isc.org
Wed Oct 17 17:07:26 UTC 2007


Heiko Gerstung wrote:
>> Under Unix, other entropy sources are /dev/random and/or /dev/urandom.
>>
>> I don't know what would be used under Windows.
> 
> I guess there is something similiar which is used by OpenSSL ...
> 

No there isn't. There is an API call that you can make to obtain a
source of entropy, but it's not the same as having a "device" like
/dev/urandom

In BIND9 I had to make a call to CryptGenRandom() (see
lib\isc\win32\entropy.c) to get a source of random values.

It's not trivial.

Danny

> Best Regards,
>   Heiko
> 
> 
>> H
> 
> 



More information about the hackers mailing list