Legacy RAND method table (deprecated; prefer EVP_RAND providers).

Synopsis

Declared in <openssl/rand.h>

struct rand_meth_st;

Data Members

Name

Description

add

Mix additional bytes into the state with an estimated entropy amount.

bytes

Fill a buffer with cryptographically strong random bytes.

cleanup

Release any resources held by this RAND_METHOD implementation.

pseudorand

Fill a buffer with pseudo‐random bytes (may be weaker than bytes).

seed

Mix seed bytes into the generator state (legacy RAND_METHOD hook).

status

Return whether the generator is sufficiently seeded.

Created with MrDocs