Lines Matching refs:ameth
91 if (pkey->ameth && pkey->ameth->pkey_free) { in free_it()
92 pkey->ameth->pkey_free(pkey); in free_it()
117 if (pkey->ameth && pkey->ameth->pkey_opaque) { in EVP_PKEY_is_opaque()
118 return pkey->ameth->pkey_opaque(pkey); in EVP_PKEY_is_opaque()
128 if (a->ameth) { in EVP_PKEY_cmp()
131 if (a->ameth->param_cmp) { in EVP_PKEY_cmp()
132 ret = a->ameth->param_cmp(a, b); in EVP_PKEY_cmp()
138 if (a->ameth->pub_cmp) { in EVP_PKEY_cmp()
139 return a->ameth->pub_cmp(a, b); in EVP_PKEY_cmp()
157 if (from->ameth && from->ameth->param_copy) { in EVP_PKEY_copy_parameters()
158 return from->ameth->param_copy(to, from); in EVP_PKEY_copy_parameters()
166 if (pkey->ameth && pkey->ameth->param_missing) { in EVP_PKEY_missing_parameters()
167 return pkey->ameth->param_missing(pkey); in EVP_PKEY_missing_parameters()
173 if (pkey && pkey->ameth && pkey->ameth->pkey_size) { in EVP_PKEY_size()
174 return pkey->ameth->pkey_size(pkey); in EVP_PKEY_size()
180 if (pkey && pkey->ameth && pkey->ameth->pkey_bits) { in EVP_PKEY_bits()
181 return pkey->ameth->pkey_bits(pkey); in EVP_PKEY_bits()
312 const EVP_PKEY_ASN1_METHOD *ameth; in EVP_PKEY_set_type() local
318 ameth = evp_pkey_asn1_find(type); in EVP_PKEY_set_type()
319 if (ameth == NULL) { in EVP_PKEY_set_type()
326 pkey->ameth = ameth; in EVP_PKEY_set_type()
327 pkey->type = pkey->ameth->pkey_id; in EVP_PKEY_set_type()
339 if (a->ameth && a->ameth->param_cmp) { in EVP_PKEY_cmp_parameters()
340 return a->ameth->param_cmp(a, b); in EVP_PKEY_cmp_parameters()