📄 rand_egd.pod
字号:
=pod=head1 NAMERAND_egd - query entropy gathering daemon=head1 SYNOPSIS #include <openssl/rand.h> int RAND_egd(const char *path);=head1 DESCRIPTIONRAND_egd() queries the entropy gathering daemon EGD on socket B<path>.EGD is available from http://www.lothar.com/tech/crypto/ (C<perlMakefile.PL; make; make install> to install). It is run as B<egd>I<path>, where I<path> is an absolute path designating a socket. WhenRAND_egd() is called with that path as an argument, it tries to readrandom bytes that EGD has collected. The read is performed innon-blocking mode.Alternatively, the EGD-compatible daemon PRNGD can be used. It isavailable fromhttp://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/prngd.html .=head1 RETURN VALUERAND_egd() returns the number of bytes read from the daemon onsuccess, and -1 if the connection failed or the daemon did not returnenough data to fully seed the PRNG.=head1 SEE ALSOL<rand(3)|rand(3)>, L<RAND_add(3)|RAND_add(3)>, L<RAND_cleanup(3)|RAND_cleanup(3)>=head1 HISTORYRAND_egd() is available since OpenSSL 0.9.5.=cut
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -