mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
32 lines
593 B
Plaintext
32 lines
593 B
Plaintext
|
=pod
|
||
|
|
||
|
=head1 NAME
|
||
|
|
||
|
RAND_egd - Query entropy gathering daemon
|
||
|
|
||
|
=head1 SYNOPSIS
|
||
|
|
||
|
#include <openssl/rand.h>
|
||
|
|
||
|
int RAND_egd(const char *path);
|
||
|
|
||
|
=head1 DESCRIPTION
|
||
|
|
||
|
RAND_egd() queries the entropy gathering daemon EGD on socket B<path>.
|
||
|
|
||
|
=head1 RETURN VALUES
|
||
|
|
||
|
RAND_egd() returns the number of bytes read from the daemon on
|
||
|
success, and -1 if the connection failed or the daemon did not return
|
||
|
enough data to fully seed the PRNG.
|
||
|
|
||
|
=head1 SEE ALSO
|
||
|
|
||
|
L<rand(3)|rand(3)>, L<RAND_add(3)|RAND_add(3)>, L<RAND_cleanup(3)|RAND_cleanup(3)>
|
||
|
|
||
|
=head1 HISTORY
|
||
|
|
||
|
RAND_egd() is available since OpenSSL 0.9.5.
|
||
|
|
||
|
=cut
|