Clarify (non-)blocking behavior of EGD socket interface used by RAND_egd().
This commit is contained in:
parent
0afc9f5bc0
commit
706c5a4d35
@ -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>
|
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
|
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
|
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
|
random bytes that EGD has collected. RAND_egd() retrieves entropy from the
|
||||||
non-blocking mode.
|
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
|
Alternatively, the EGD-interface compatible daemon PRNGD can be used. It is
|
||||||
available from
|
available from
|
||||||
|
Loading…
x
Reference in New Issue
Block a user