Lines Matching defs:pkey
62 int EVP_PKEY_get_bits(const EVP_PKEY *pkey) in EVP_PKEY_get_bits()
78 int EVP_PKEY_get_security_bits(const EVP_PKEY *pkey) in EVP_PKEY_get_security_bits()
94 int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode) in EVP_PKEY_save_parameters()
226 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) in EVP_PKEY_missing_parameters()
391 EVP_PKEY *pkey = NULL; in new_raw_key_int() local
557 int EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, unsigned char *priv, in EVP_PKEY_get_raw_private_key()
589 int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub, in EVP_PKEY_get_raw_public_key()
632 EVP_PKEY *pkey = NULL; in new_cmac_key_int() local
687 int EVP_PKEY_set_type(EVP_PKEY *pkey, int type) in EVP_PKEY_set_type()
692 int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len) in EVP_PKEY_set_type_str()
698 int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e) in EVP_PKEY_set1_engine()
716 ENGINE *EVP_PKEY_get0_engine(const EVP_PKEY *pkey) in EVP_PKEY_get0_engine()
723 static void detect_foreign_key(EVP_PKEY *pkey) in detect_foreign_key()
757 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key) in EVP_PKEY_assign()
791 void *EVP_PKEY_get0(const EVP_PKEY *pkey) in EVP_PKEY_get0()
802 const unsigned char *EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len) in EVP_PKEY_get0_hmac()
818 const unsigned char *EVP_PKEY_get0_poly1305(const EVP_PKEY *pkey, size_t *len) in EVP_PKEY_get0_poly1305()
835 const unsigned char *EVP_PKEY_get0_siphash(const EVP_PKEY *pkey, size_t *len) in EVP_PKEY_get0_siphash()
853 static DSA *evp_pkey_get0_DSA_int(const EVP_PKEY *pkey) in evp_pkey_get0_DSA_int()
862 const DSA *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey) in EVP_PKEY_get0_DSA()
867 int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key) in EVP_PKEY_set1_DSA()
874 DSA *EVP_PKEY_get1_DSA(EVP_PKEY *pkey) in EVP_PKEY_get1_DSA()
885 static const ECX_KEY *evp_pkey_get0_ECX_KEY(const EVP_PKEY *pkey, int type) in evp_pkey_get0_ECX_KEY()
894 static ECX_KEY *evp_pkey_get1_ECX_KEY(EVP_PKEY *pkey, int type) in evp_pkey_get1_ECX_KEY()
952 DH *evp_pkey_get0_DH_int(const EVP_PKEY *pkey) in evp_pkey_get0_DH_int()
961 const DH *EVP_PKEY_get0_DH(const EVP_PKEY *pkey) in EVP_PKEY_get0_DH()
966 DH *EVP_PKEY_get1_DH(EVP_PKEY *pkey) in EVP_PKEY_get1_DH()
992 int EVP_PKEY_get_id(const EVP_PKEY *pkey) in EVP_PKEY_get_id()
997 int EVP_PKEY_get_base_id(const EVP_PKEY *pkey) in EVP_PKEY_get_base_id()
1056 int EVP_PKEY_is_a(const EVP_PKEY *pkey, const char *name) in EVP_PKEY_is_a()
1065 int EVP_PKEY_type_names_do_all(const EVP_PKEY *pkey, in EVP_PKEY_type_names_do_all()
1081 int EVP_PKEY_can_sign(const EVP_PKEY *pkey) in EVP_PKEY_can_sign()
1157 static int unsup_alg(BIO *out, const EVP_PKEY *pkey, int indent, in unsup_alg()
1165 static int print_pkey(const EVP_PKEY *pkey, BIO *out, int indent, in print_pkey()
1200 int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, in EVP_PKEY_print_public()
1208 int EVP_PKEY_print_private(BIO *out, const EVP_PKEY *pkey, in EVP_PKEY_print_private()
1216 int EVP_PKEY_print_params(BIO *out, const EVP_PKEY *pkey, in EVP_PKEY_print_params()
1225 int EVP_PKEY_print_public_fp(FILE *fp, const EVP_PKEY *pkey, in EVP_PKEY_print_public_fp()
1238 int EVP_PKEY_print_private_fp(FILE *fp, const EVP_PKEY *pkey, in EVP_PKEY_print_private_fp()
1251 int EVP_PKEY_print_params_fp(FILE *fp, const EVP_PKEY *pkey, in EVP_PKEY_print_params_fp()
1277 static int legacy_asn1_ctrl_to_param(EVP_PKEY *pkey, int op, in legacy_asn1_ctrl_to_param()
1326 static int evp_pkey_asn1_ctrl(EVP_PKEY *pkey, int op, int arg1, void *arg2) in evp_pkey_asn1_ctrl()
1335 int EVP_PKEY_get_default_digest_nid(EVP_PKEY *pkey, int *pnid) in EVP_PKEY_get_default_digest_nid()
1342 int EVP_PKEY_get_default_digest_name(EVP_PKEY *pkey, in EVP_PKEY_get_default_digest_name()
1361 int EVP_PKEY_get_group_name(const EVP_PKEY *pkey, char *gname, size_t gname_sz, in EVP_PKEY_get_group_name()
1368 int EVP_PKEY_digestsign_supports_digest(EVP_PKEY *pkey, OSSL_LIB_CTX *libctx, in EVP_PKEY_digestsign_supports_digest()
1386 int EVP_PKEY_set1_encoded_public_key(EVP_PKEY *pkey, const unsigned char *pub, in EVP_PKEY_set1_encoded_public_key()
1406 size_t EVP_PKEY_get1_encoded_public_key(EVP_PKEY *pkey, unsigned char **ppub) in EVP_PKEY_get1_encoded_public_key()
1500 static int pkey_set_type(EVP_PKEY *pkey, ENGINE *e, int type, const char *str, in pkey_set_type()
1638 int EVP_PKEY_set_type_by_keymgmt(EVP_PKEY *pkey, EVP_KEYMGMT *keymgmt) in EVP_PKEY_set_type_by_keymgmt()
1667 int EVP_PKEY_up_ref(EVP_PKEY *pkey) in EVP_PKEY_up_ref()
1680 EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *pkey) in EVP_PKEY_dup()
1811 int EVP_PKEY_get_size(const EVP_PKEY *pkey) in EVP_PKEY_get_size()
1829 const char *EVP_PKEY_get0_description(const EVP_PKEY *pkey) in EVP_PKEY_get0_description()
2167 int EVP_PKEY_get_bn_param(const EVP_PKEY *pkey, const char *key_name, in EVP_PKEY_get_bn_param()
2216 int EVP_PKEY_get_octet_string_param(const EVP_PKEY *pkey, const char *key_name, in EVP_PKEY_get_octet_string_param()
2235 int EVP_PKEY_get_utf8_string_param(const EVP_PKEY *pkey, const char *key_name, in EVP_PKEY_get_utf8_string_param()
2262 int EVP_PKEY_get_int_param(const EVP_PKEY *pkey, const char *key_name, in EVP_PKEY_get_int_param()
2276 int EVP_PKEY_get_size_t_param(const EVP_PKEY *pkey, const char *key_name, in EVP_PKEY_get_size_t_param()
2290 int EVP_PKEY_set_int_param(EVP_PKEY *pkey, const char *key_name, int in) in EVP_PKEY_set_int_param()
2302 int EVP_PKEY_set_size_t_param(EVP_PKEY *pkey, const char *key_name, size_t in) in EVP_PKEY_set_size_t_param()
2314 int EVP_PKEY_set_bn_param(EVP_PKEY *pkey, const char *key_name, in EVP_PKEY_set_bn_param()
2338 int EVP_PKEY_set_utf8_string_param(EVP_PKEY *pkey, const char *key_name, in EVP_PKEY_set_utf8_string_param()
2351 int EVP_PKEY_set_octet_string_param(EVP_PKEY *pkey, const char *key_name, in EVP_PKEY_set_octet_string_param()
2365 const OSSL_PARAM *EVP_PKEY_settable_params(const EVP_PKEY *pkey) in EVP_PKEY_settable_params()
2372 int EVP_PKEY_set_params(EVP_PKEY *pkey, OSSL_PARAM params[]) in EVP_PKEY_set_params()
2397 const OSSL_PARAM *EVP_PKEY_gettable_params(const EVP_PKEY *pkey) in EVP_PKEY_gettable_params()
2404 int EVP_PKEY_get_params(const EVP_PKEY *pkey, OSSL_PARAM params[]) in EVP_PKEY_get_params()
2419 int EVP_PKEY_get_ec_point_conv_form(const EVP_PKEY *pkey) in EVP_PKEY_get_ec_point_conv_form()
2459 int EVP_PKEY_get_field_type(const EVP_PKEY *pkey) in EVP_PKEY_get_field_type()