I have motherboard with hardware number generator on AMD768 chip.
It's a genuine random numbers source, and I would like to use
it instead of pseudo-random /dev/urandom.

In my Linux there is a working /dev/hw_random device
[EMAIL PROTECTED] ~]# LANG= ll /dev/hw_random
crw-r--r--  1 sas root 10, 183 Feb 18 14:46 /dev/hw_random

And I have some applications in this system using openssl
library: cyrus-imapd with SSL support.

I've tried either to simlink
# ln -sf hw_random /dev/urandom

or create corresponding device :
# mknod /dev/urandom c 10 183

Whatever I tried, cyrus-imapd immediately fails to accept SSL
connections. Since cyrus-imapd by itself does not use any RAND_*
functions, and completely relies on openssl for this, I conclude
this is openssl fault.

May be this is because /dev/hw_random is slower than openssl expects ?
How should I cope with this, and force openssl to use hardware ?

-- 
Konstantin Andreev. mailto:[EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to