OSSL_provider_init_fn

Provider module entry-point signature invoked when OpenSSL loads the provider.

Synopsis

Declared in <openssl/core.h>

typedef int OSSL_provider_init_fn(OSSL_CORE_HANDLE const*, OSSL_DISPATCH const*, OSSL_DISPATCH const**, void**);

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.