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

Name

Description

ctx

RAND context to query.

Created with MrDocs