OpenBSD manual page server

Manual Page Search Parameters

RAND_ADD(3) Library Functions Manual RAND_ADD(3)

RAND_add, RAND_cleanup, 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);

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_status() always returns 1.

December 15, 2016 OpenBSD-6.1