[#EVP_CIPHER_get0_provider]
= EVP&lowbar;CIPHER&lowbar;get0&lowbar;provider
:mrdocs:

Return the provider that implements a cipher algorithm&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;CIPHER&lowbar;get0&lowbar;provider(xref:EVP_CIPHER-07.adoc[EVP&lowbar;CIPHER] const* cipher);
----

== Return Value

Internal OSSL&lowbar;PROVIDER pointer (do not free), or NULL for legacy methods&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cipher*
| Cipher method to query&period;
|===


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