[#EVP_PKEY_eq]
= EVP&lowbar;PKEY&lowbar;eq
:mrdocs:

Compare two keys for equality of type, parameters, and key material&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;eq(
    xref:EVP_PKEY.adoc[EVP&lowbar;PKEY] const* a,
    xref:EVP_PKEY.adoc[EVP&lowbar;PKEY] const* b);
----

== Return Value

1 if equal, 0 if not equal, or a negative value on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| First key&period;
| *b*
| Second key&period;
|===


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