Return the shared primary DRBG for a library context (used to reseed public/private DRBGs).

Synopsis

Declared in <openssl/rand.h>

EVP_RAND_CTX*
RAND_get0_primary(OSSL_LIB_CTX* ctx);

Return Value

Internal EVP_RAND_CTX pointer (do not free); not safe for concurrent direct use.

Parameters

Name

Description

ctx

Library context, or NULL for the default.

Created with MrDocs