summaryrefslogtreecommitdiff
path: root/doc/crypto/RAND_egd.pod
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-02-24 02:51:47 +0000
committerUlf Möller <ulf@openssl.org>2000-02-24 02:51:47 +0000
commit4ec2d4d2b3a8cba1fdc656acd6b19d003191d779 (patch)
tree1356799251ac1dffbd55194f04d26a8d19c0e34e /doc/crypto/RAND_egd.pod
parent5921ea3bcf01cb8997ab823cb21a2f4390932a20 (diff)
downloadopenssl-new-4ec2d4d2b3a8cba1fdc656acd6b19d003191d779.tar.gz
Support EGD.
Diffstat (limited to 'doc/crypto/RAND_egd.pod')
-rw-r--r--doc/crypto/RAND_egd.pod31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/crypto/RAND_egd.pod b/doc/crypto/RAND_egd.pod
new file mode 100644
index 0000000000..251b71fec4
--- /dev/null
+++ b/doc/crypto/RAND_egd.pod
@@ -0,0 +1,31 @@
+=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