diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2008-11-10 11:26:44 +0000 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2008-11-10 11:26:44 +0000 |
commit | 706c5a4d353eeac4b3217138eeea6b737ff14681 (patch) | |
tree | 2093864a31d5b8e2a8e7b136241c954acfebcba0 /doc | |
parent | 0afc9f5bc0e7c5d77c6b6cc32e0cbdbcc405a57b (diff) |
Clarify (non-)blocking behavior of EGD socket interface used by RAND_egd().
Diffstat (limited to 'doc')
-rw-r--r-- | doc/crypto/RAND_egd.pod | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/crypto/RAND_egd.pod b/doc/crypto/RAND_egd.pod index 079838ea2e..8b8c61d161 100644 --- a/doc/crypto/RAND_egd.pod +++ b/doc/crypto/RAND_egd.pod @@ -45,8 +45,11 @@ EGD is available from http://www.lothar.com/tech/crypto/ (C<perl Makefile.PL; make; make install> to install). It is run as B<egd> I<path>, where I<path> is an absolute path designating a socket. When RAND_egd() is called with that path as an argument, it tries to read -random bytes that EGD has collected. The read is performed in -non-blocking mode. +random bytes that EGD has collected. RAND_egd() retrieves entropy from the +daemon using the daemon's "non-blocking read" command which shall +be answered immediately by the daemon without waiting for additional +entropy to be collected. The write and read socket operations in the +communication are blocking. Alternatively, the EGD-interface compatible daemon PRNGD can be used. It is available from |