Lines Matching refs:e

30     ENGINE *e = NULL;  in try_load_engine()  local
32 if ((e = ENGINE_by_id("dynamic")) != NULL) { in try_load_engine()
33 if (!ENGINE_ctrl_cmd_string(e, "SO_PATH", engine, 0) in try_load_engine()
34 || !ENGINE_ctrl_cmd_string(e, "LOAD", NULL, 0)) { in try_load_engine()
35 ENGINE_free(e); in try_load_engine()
36 e = NULL; in try_load_engine()
39 return e; in try_load_engine()
45 ENGINE *e = NULL; in setup_engine_methods() local
54 if ((e = ENGINE_by_id(id)) == NULL in setup_engine_methods()
55 && (e = try_load_engine(id)) == NULL) { in setup_engine_methods()
61 (void)ENGINE_ctrl(e, ENGINE_CTRL_SET_LOGSTREAM, 0, bio_err, 0); in setup_engine_methods()
62 if (!ENGINE_ctrl_cmd(e, "SET_USER_INTERFACE", 0, in setup_engine_methods()
64 || !ENGINE_set_default(e, methods)) { in setup_engine_methods()
65 BIO_printf(bio_err, "Cannot use engine \"%s\"\n", ENGINE_get_id(e)); in setup_engine_methods()
67 ENGINE_free(e); in setup_engine_methods()
71 BIO_printf(bio_err, "Engine \"%s\" set.\n", ENGINE_get_id(e)); in setup_engine_methods()
74 return e; in setup_engine_methods()
77 void release_engine(ENGINE *e) in release_engine() argument
81 ENGINE_free(e); in release_engine()
85 int init_engine(ENGINE *e) in init_engine() argument
90 rv = ENGINE_init(e); in init_engine()
95 int finish_engine(ENGINE *e) in finish_engine() argument
100 rv = ENGINE_finish(e); in finish_engine()
105 char *make_engine_uri(ENGINE *e, const char *key_id, const char *desc) in make_engine_uri() argument
110 if (e == NULL) { in make_engine_uri()
115 const char *engineid = ENGINE_get_id(e); in make_engine_uri()
138 int get_legacy_pkey_id(OSSL_LIB_CTX *libctx, const char *algname, ENGINE *e) in get_legacy_pkey_id() argument
150 if (ameth == NULL && e != NULL) in get_legacy_pkey_id()
151 ameth = ENGINE_get_pkey_asn1_meth_str(e, algname, -1); in get_legacy_pkey_id()