EVP_RAND_is_a

Test whether a RAND implementation is known under the given name.

Synopsis

Declared in <openssl/evp.h>

int
EVP_RAND_is_a(
    EVP_RAND const* rand,
    char const* name);

Return Value

1 if name is an alias for rand, or 0 otherwise.

Parameters

NameDescription
randRAND method to query.
nameAlgorithm name to match (for example "CTR-DRBG").