Lines Matching refs:engine
30 ENGINE_finish(pc->engine); in ossl_prov_cipher_reset()
32 pc->engine = NULL; in ossl_prov_cipher_reset()
40 if (src->engine != NULL && !ENGINE_init(src->engine)) { in ossl_prov_cipher_copy()
45 dst->engine = src->engine; in ossl_prov_cipher_copy()
52 ENGINE **engine) in load_common() argument
65 ENGINE_finish(*engine); in load_common()
67 *engine = NULL; in load_common()
75 *engine = ENGINE_by_id(p->data); in load_common()
76 if (*engine == NULL) in load_common()
79 if (!ENGINE_init(*engine)) { in load_common()
80 ENGINE_free(*engine); in load_common()
81 *engine = NULL; in load_common()
85 ENGINE_free(*engine); in load_common()
101 if (!load_common(params, &propquery, &pc->engine)) in ossl_prov_cipher_load_from_params()
137 return pc->engine; in ossl_prov_cipher_engine()
146 ENGINE_finish(pd->engine); in ossl_prov_digest_reset()
148 pd->engine = NULL; in ossl_prov_digest_reset()
156 if (src->engine != NULL && !ENGINE_init(src->engine)) { in ossl_prov_digest_copy()
161 dst->engine = src->engine; in ossl_prov_digest_copy()
186 if (!load_common(params, &propquery, &pd->engine)) in ossl_prov_digest_load_from_params()
221 return pd->engine; in ossl_prov_digest_engine()
228 const char *engine, in ossl_prov_set_macctx() argument
253 if (engine == NULL) { in ossl_prov_set_macctx()
258 engine = p->data; in ossl_prov_set_macctx()
274 if (engine != NULL) in ossl_prov_set_macctx()
276 (char *) engine, 0); in ossl_prov_set_macctx()