On Thu, Feb 08, 2001 at 03:04:57AM +0100, Ulf Moeller wrote:
> So, which RAND_egd functions (if any) do we want to document in RAND_egd.pod?
All of them?
RAND_egd(path) will query 255bytes and seed the PRNG.
RAND_egd_bytes(path,bytes) will query a chosen number of bytes and seed
the PRNG. RAND_egd() is the interface proposed by now, but 255 bytes
is more than is actually needed and might load EGD more than necessary.
For a symmetric key depending on the strength we need around 20 bytes
(which is the default for ENTROPY_NEEDED), so application developpers
may choose to query ... 32 bytes like e.g. used in OpenSSH per connection.
As it seems to me RAND_egd_bytes() is not well known but it was added
quite some time ago (by Ben, if memory serves me right).
RAND_query_egd_bytes() is used internally to access the EGD and return
the bytes. I was considering to make it publicly accessable.
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
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]