EVP_RAND_get_strength

Return the current security strength in bits of a RAND context.

Synopsis

Declared in <openssl/evp.h>

unsigned int
EVP_RAND_get_strength(EVP_RAND_CTX* ctx);

Return Value

Strength in bits, or 0 if unavailable.

Parameters

NameDescription
ctxRAND context to query.