[#EVP_PKEY_CTX_get0_provider]
= EVP&lowbar;PKEY&lowbar;CTX&lowbar;get0&lowbar;provider
:mrdocs:

Return the provider that supplies the algorithm implementation used by `ctx&period;`

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OSSL_PROVIDER.adoc[OSSL&lowbar;PROVIDER] const*
EVP&lowbar;PKEY&lowbar;CTX&lowbar;get0&lowbar;provider(xref:EVP_PKEY_CTX.adoc[EVP&lowbar;PKEY&lowbar;CTX] const* ctx);
----

== Return Value

Provider pointer owned by OpenSSL, or NULL if no provider is associated&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Key context to query&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
