Subject: Re: problem with 1.5.1_ALPHA & openssl
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: None <itojun@iijlab.net>
List: current-users
Date: 03/22/2001 04:22:59
	it looks that "openssl genrsa" chews extremely high amount of
	pseudo random numbers from /dev/urandom.  i'm still not sure about why.

>Hi,
>I have a problem with openssl on 1.5.1_ALPHA:
>when I try to generata a RSA key:
>openssl genrsa -out /usr/pkg/etc/httpd/ssl.key/server.key 1024
>it looks and seems to never terminate. Ktrace shows that it loops reading
>data from /dev/urandom; each read returns 4088 bytes.
>Systems spends more than 98 CPU time in kernel.
>
>This is an i386, SCSI disks behing siop.
>I ran the same command on a similar machine running 1.5, no problems.

	do you have rnd(4) device with you on 1.5 box?

>Any idea ?

itojun