GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RAND_ADD(3) FreeBSD Library Functions Manual RAND_ADD(3)

RAND_add, RAND_cleanup, RAND_poll, RAND_seed, RAND_statusmanipulate the PRNG state

#include <openssl/rand.h>

void
RAND_add(const void *buf, int num, double entropy);

void
RAND_cleanup(void);

int
RAND_poll(void);

void
RAND_seed(const void *buf, int num);

int
RAND_status(void);

These functions used to allow for the state of the random number generator to be controlled by external sources.

They are kept for ABI compatibility but are no longer functional, and should not be used in new programs.

RAND_poll() and RAND_status() always return 1.

RAND_cleanup() and RAND_seed() first appeared in SSLeay 0.5.1 and have been available since OpenBSD 2.4.

RAND_add() and RAND_status() first appeared in OpenSSL 0.9.5 and have been available since OpenBSD 2.7.

RAND_poll() first appeared in OpenSSL 0.9.6 and has been available since OpenBSD 2.9.

March 27, 2018 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.