[#EVP_MD_CTX_get_pkey_ctx]
= EVP&lowbar;MD&lowbar;CTX&lowbar;get&lowbar;pkey&lowbar;ctx
:mrdocs:

Return the EVP&lowbar;PKEY&lowbar;CTX currently attached to a digest context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:EVP_PKEY_CTX.adoc[EVP&lowbar;PKEY&lowbar;CTX]*
EVP&lowbar;MD&lowbar;CTX&lowbar;get&lowbar;pkey&lowbar;ctx(xref:EVP_MD_CTX.adoc[EVP&lowbar;MD&lowbar;CTX] const* ctx);
----

== Return Value

Associated key context, or NULL if none&semi; do not free the result&period;

== Parameters

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


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