• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/crypto/openssl/crypto/evp/

Lines Matching defs:ameth

31     if (pkey && pkey->ameth && pkey->ameth->pkey_bits)
32 return pkey->ameth->pkey_bits(pkey);
40 if (!pkey->ameth || !pkey->ameth->pkey_security_bits)
42 return pkey->ameth->pkey_security_bits(pkey);
47 if (pkey && pkey->ameth && pkey->ameth->pkey_size)
48 return pkey->ameth->pkey_size(pkey);
97 if (from->ameth && from->ameth->param_copy)
98 return from->ameth->param_copy(to, from);
105 if (pkey != NULL && pkey->ameth && pkey->ameth->param_missing)
106 return pkey->ameth->param_missing(pkey);
114 if (a->ameth && a->ameth->param_cmp)
115 return a->ameth->param_cmp(a, b);
124 if (a->ameth) {
127 if (a->ameth->param_cmp) {
128 ret = a->ameth->param_cmp(a, b);
133 if (a->ameth->pub_cmp)
134 return a->ameth->pub_cmp(a, b);
181 const EVP_PKEY_ASN1_METHOD *ameth;
191 if ((type == pkey->save_type) && pkey->ameth)
202 ameth = EVP_PKEY_asn1_find_str(eptr, str, len);
204 ameth = EVP_PKEY_asn1_find(eptr, type);
209 if (ameth == NULL) {
214 pkey->ameth = ameth;
217 pkey->type = pkey->ameth->pkey_id;
235 if (ret->ameth->set_priv_key == NULL) {
241 if (!ret->ameth->set_priv_key(ret, priv, len)) {
265 if (ret->ameth->set_pub_key == NULL) {
271 if (!ret->ameth->set_pub_key(ret, pub, len)) {
286 if (pkey->ameth->get_priv_key == NULL) {
292 if (!pkey->ameth->get_priv_key(pkey, priv, len)) {
303 if (pkey->ameth->get_pub_key == NULL) {
309 if (!pkey->ameth->get_pub_key(pkey, pub, len)) {
572 const EVP_PKEY_ASN1_METHOD *ameth;
574 ameth = EVP_PKEY_asn1_find(&e, type);
575 if (ameth)
576 ret = ameth->pkey_id;
616 if (x->ameth && x->ameth->pkey_free) {
617 x->ameth->pkey_free(x);
640 if (pkey->ameth && pkey->ameth->pub_print)
641 return pkey->ameth->pub_print(out, pkey, indent, pctx);
649 if (pkey->ameth && pkey->ameth->priv_print)
650 return pkey->ameth->priv_print(out, pkey, indent, pctx);
658 if (pkey->ameth && pkey->ameth->param_print)
659 return pkey->ameth->param_print(out, pkey, indent, pctx);
665 if (pkey->ameth == NULL || pkey->ameth->pkey_ctrl == NULL)
667 return pkey->ameth->pkey_ctrl(pkey, op, arg1, arg2);