OSSL_provider_init

Exported provider entry point; each provider module must define this symbol.

Synopsis

Declared in <openssl/core.h>

extern
int
OSSL_provider_init(
    OSSL_CORE_HANDLE const* handle,
    OSSL_DISPATCH const* in,
    OSSL_DISPATCH const** out,
    void** provctx);

Description

OpenSSL loads the provider by resolving this function and calling it with the core dispatch tables described by OSSL_provider_init_fn.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
handleCore handle for this provider instance.
inDispatch table of functions the core offers the provider.
outReceives the provider's dispatch table of exported functions.
provctxReceives an optional provider-side context pointer.