A related question:
if I have a hardware random number generator and i use it instead of
/dev/urandom, is it likely to improve performance at all?
how much will it help?
thanks,
vijo.
On Fri, 27 Apr 2001, you wrote:
> On Fri, Apr 27, 2001 at 11:33:25AM -0700, Crosland, Jerel (Contract) wrote:
> > I'd like to use the <a href="http://ocotillo.sourceforge.net">Ocotillo</a>
> > PRNG with OpenSSL, but it is failing when I do the "make test" in the
> > "randtest" module. Ocotillo creates a named pipe at /dev/urandom but if
> > OpenSSL is treating it like a character device it may not work correctly.
>
> OpenSSL will only "open()" and "read()" from the file.
> Please run trace/strace/tusc/truss or whatever the system call tracer
> is called on your platform and see, whether the open() or the read()
> call fails and with which error. This already should give you a hint.
>
> As far as I have seen from the open() man-page, using a named pipe for
> this purpose is not very robust (it will fail for non-blocking behaviour:
> you cannot open a pipe for writing without a reading process, HP-UX 10.20)
> and I am not sure how this setup should work with several processes
> trying to read entropy at the same time.
>
> Best regards,
> Lutz
> --
> Lutz Jaenicke [EMAIL PROTECTED]
> BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
> Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
> Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
--
vijo
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]