[#EVP_PKEY_check] = EVP_PKEY_check :mrdocs: Validate the key associated with a key context (public/private consistency checks). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_check(xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx); ---- == Return Value 1 if the key is valid, 0 if invalid, or a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Context whose key is checked (from EVP_PKEY_CTX_new or similar). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#