Exported provider entry point; each provider module must define this symbol.
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);
OpenSSL loads the provider by resolving this function and calling it with the core dispatch tables described by OSSL_provider_init_fn.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| handle | Core handle for this provider instance. |
| in | Dispatch table of functions the core offers the provider. |
| out | Receives the provider's dispatch table of exported functions. |
| provctx | Receives an optional provider-side context pointer. |