EVP_RAND_get_state

Return the current lifecycle state of a RAND context.

Synopsis

Declared in <openssl/evp.h>

int
EVP_RAND_get_state(EVP_RAND_CTX* ctx);

Return Value

EVP_RAND_STATE_UNINITIALISED, EVP_RAND_STATE_READY, or EVP_RAND_STATE_ERROR.

Parameters

NameDescription
ctxRAND context to query.