Load a provider by name with an optional parameter array.
Declared in <openssl/provider.h>
OSSL_PROVIDER*
OSSL_PROVIDER_load_ex(
OSSL_LIB_CTX* ctx,
char const* name,
OSSL_PARAM* params);
Provider handle on success, or NULL on failure; unload with OSSL_PROVIDER_unload().
| Name | Description |
|---|---|
| ctx | Library context that will own the provider, or NULL for the default. |
| name | Provider name (for example "default" or "legacy"). |
| params | Optional OSSL_PARAM array configuring the provider, or NULL. |