Lines Matching refs:e

28 void ENGINE_unregister_pkey_asn1_meths(ENGINE *e)  in ENGINE_unregister_pkey_asn1_meths()  argument
30 engine_table_unregister(&pkey_asn1_meth_table, e); in ENGINE_unregister_pkey_asn1_meths()
38 int ENGINE_register_pkey_asn1_meths(ENGINE *e) in ENGINE_register_pkey_asn1_meths() argument
40 if (e->pkey_asn1_meths) { in ENGINE_register_pkey_asn1_meths()
42 int num_nids = e->pkey_asn1_meths(e, NULL, &nids, 0); in ENGINE_register_pkey_asn1_meths()
46 e, nids, num_nids, 0); in ENGINE_register_pkey_asn1_meths()
53 ENGINE *e; in ENGINE_register_all_pkey_asn1_meths() local
55 for (e = ENGINE_get_first(); e; e = ENGINE_get_next(e)) in ENGINE_register_all_pkey_asn1_meths()
56 ENGINE_register_pkey_asn1_meths(e); in ENGINE_register_all_pkey_asn1_meths()
59 int ENGINE_set_default_pkey_asn1_meths(ENGINE *e) in ENGINE_set_default_pkey_asn1_meths() argument
61 if (e->pkey_asn1_meths) { in ENGINE_set_default_pkey_asn1_meths()
63 int num_nids = e->pkey_asn1_meths(e, NULL, &nids, 0); in ENGINE_set_default_pkey_asn1_meths()
67 e, nids, num_nids, 1); in ENGINE_set_default_pkey_asn1_meths()
87 const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth(ENGINE *e, int nid) in ENGINE_get_pkey_asn1_meth() argument
90 ENGINE_PKEY_ASN1_METHS_PTR fn = ENGINE_get_pkey_asn1_meths(e); in ENGINE_get_pkey_asn1_meth()
91 if (!fn || !fn(e, &ret, NULL, nid)) { in ENGINE_get_pkey_asn1_meth()
99 ENGINE_PKEY_ASN1_METHS_PTR ENGINE_get_pkey_asn1_meths(const ENGINE *e) in ENGINE_get_pkey_asn1_meths() argument
101 return e->pkey_asn1_meths; in ENGINE_get_pkey_asn1_meths()
105 int ENGINE_set_pkey_asn1_meths(ENGINE *e, ENGINE_PKEY_ASN1_METHS_PTR f) in ENGINE_set_pkey_asn1_meths() argument
107 e->pkey_asn1_meths = f; in ENGINE_set_pkey_asn1_meths()
116 void engine_pkey_asn1_meths_free(ENGINE *e) in engine_pkey_asn1_meths_free() argument
120 if (e->pkey_asn1_meths) { in engine_pkey_asn1_meths_free()
123 npknids = e->pkey_asn1_meths(e, NULL, &pknids, 0); in engine_pkey_asn1_meths_free()
125 if (e->pkey_asn1_meths(e, &pkm, NULL, pknids[i])) { in engine_pkey_asn1_meths_free()
139 const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth_str(ENGINE *e, in ENGINE_get_pkey_asn1_meth_str() argument
146 if (!e->pkey_asn1_meths) in ENGINE_get_pkey_asn1_meth_str()
150 nidcount = e->pkey_asn1_meths(e, NULL, &nids, 0); in ENGINE_get_pkey_asn1_meth_str()
152 e->pkey_asn1_meths(e, &ameth, NULL, nids[i]); in ENGINE_get_pkey_asn1_meth_str()
162 ENGINE *e; member
175 ENGINE *e = sk_ENGINE_value(sk, i); in look_str_cb() local
177 e->pkey_asn1_meths(e, &ameth, NULL, nid); in look_str_cb()
181 lk->e = e; in look_str_cb()
193 fstr.e = NULL; in ENGINE_pkey_asn1_find_str()
208 if (fstr.e != NULL) { in ENGINE_pkey_asn1_find_str()
211 if (!CRYPTO_UP_REF(&fstr.e->struct_ref, &ref)) { in ENGINE_pkey_asn1_find_str()
216 ENGINE_REF_PRINT(fstr.e, 0, 1); in ENGINE_pkey_asn1_find_str()
218 *pe = fstr.e; in ENGINE_pkey_asn1_find_str()