[#EVP_PKEY_public_check_quick]
= EVP&lowbar;PKEY&lowbar;public&lowbar;check&lowbar;quick
:mrdocs:

Perform a fast (non&hyphen;exhaustive) public&hyphen;key validity check&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;public&lowbar;check&lowbar;quick(xref:EVP_PKEY_CTX.adoc[EVP&lowbar;PKEY&lowbar;CTX]* ctx);
----

== Description

Skips expensive checks that EVP&lowbar;PKEY&lowbar;public&lowbar;check() may perform for some algorithms&period;

== Return Value

1 if the key appears valid, 0 if invalid, or a negative value on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Context whose key is checked (from EVP&lowbar;PKEY&lowbar;CTX&lowbar;new or similar)&period;
|===


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