libressl-RAND_add3
Manipulate the prng state
Usage
Crypto Library (libcrypto, -lcrypto)
#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);
Overview
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.
Return values
RAND_poll() and RAND_status() always return 1.