Lines Matching full:engine

11  * Here is a set of wrappers for the ENGINE API, which are no-ops when the
12 * ENGINE API is disabled / removed.
19 #include <openssl/types.h> /* Ensure we have the ENGINE type, regardless */
22 # include <openssl/engine.h>
27 /* Try to load an engine in a shareable library */
28 static ENGINE *try_load_engine(const char *engine) in try_load_engine() argument
30 ENGINE *e = NULL; in try_load_engine()
33 if (!ENGINE_ctrl_cmd_string(e, "SO_PATH", engine, 0) in try_load_engine()
43 ENGINE *setup_engine_methods(const char *id, unsigned int methods, int debug) in setup_engine_methods()
45 ENGINE *e = NULL; in setup_engine_methods()
50 BIO_printf(bio_err, "Enabling auto ENGINE support\n"); in setup_engine_methods()
56 BIO_printf(bio_err, "Invalid engine \"%s\"\n", id); in setup_engine_methods()
65 BIO_printf(bio_err, "Cannot use engine \"%s\"\n", ENGINE_get_id(e)); in setup_engine_methods()
71 BIO_printf(bio_err, "Engine \"%s\" set.\n", ENGINE_get_id(e)); in setup_engine_methods()
77 void release_engine(ENGINE *e) in release_engine()
85 int init_engine(ENGINE *e) in init_engine()
95 int finish_engine(ENGINE *e) in finish_engine()
105 char *make_engine_uri(ENGINE *e, const char *key_id, const char *desc) in make_engine_uri()
111 BIO_printf(bio_err, "No engine specified for loading %s\n", desc); in make_engine_uri()
113 BIO_printf(bio_err, "No engine key id specified for loading %s\n", desc); in make_engine_uri()
138 int get_legacy_pkey_id(OSSL_LIB_CTX *libctx, const char *algname, ENGINE *e) in get_legacy_pkey_id()
141 ENGINE *tmpeng = NULL; in get_legacy_pkey_id()
154 /* We're only interested if it comes from an ENGINE */ in get_legacy_pkey_id()
170 ENGINE *eng; in get_digest_from_engine()
184 ENGINE *eng; in get_cipher_from_engine()