Allocate an OSSL_LIB_CTX wired to core BIO upcalls from a provider dispatch table.

Synopsis

Declared in <openssl/crypto.h>

OSSL_LIB_CTX*
OSSL_LIB_CTX_new_from_dispatch(
    OSSL_CORE_HANDLE const* handle,
    OSSL_DISPATCH const* in);

Return Value

New library context, or NULL on failure; free with OSSL_LIB_CTX_free().

Parameters

Name

Description

handle

Core handle passed to the provider (reserved for future use; may be NULL).

in

Provider‐to‐core OSSL_DISPATCH table containing BIO upcall function pointers.

Created with MrDocs