Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
EVP_PKEY_check, EVP_PKEY_public_check, EVP_PKEY_param_check — key and parameter check functionsSYNOPSIS
#include <openssl/evp.h>EVP_PKEY_check(EVP_PKEY_CTX *ctx);
EVP_PKEY_public_check(EVP_PKEY_CTX *ctx);
EVP_PKEY_param_check(EVP_PKEY_CTX *ctx);
DESCRIPTION
EVP_PKEY_check() performs various sanity checks on the key contained in ctx but only supports a small number of key types by default. It preferably uses the function check configured for ctx with EVP_PKEY_meth_set_check(3). It falls back to the function pkey_check configured for the private key contained in ctx with EVP_PKEY_asn1_set_check(3). If that wasn't configured either, it attempts to use the following check functions:- DH
- not supported, return value -2
- EC
- EC_KEY_check_key(3)
- RSA
- RSA_check_key(3)
- DH
- DH_check_pub_key(3)
- EC
- EC_KEY_check_key(3)
- RSA
- not supported, return value -2
- DH
- DH_check(3)
- EC
- EC_GROUP_check(3)
- RSA
- not supported, return value -2