Validate the public key associated with a key context.
Declared in <openssl/evp.h>
<openssl/evp.h>
int EVP_PKEY_public_check(EVP_PKEY_CTX* ctx);
1 if the public key is valid, 0 if invalid, or a negative value on error.