Lines Matching refs:engine
29 static DH *dh_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx);
43 ENGINE_finish(dh->engine); in DH_set_method()
44 dh->engine = NULL; in DH_set_method()
63 DH *DH_new_method(ENGINE *engine) in DH_new_method() argument
65 return dh_new_intern(engine, NULL); in DH_new_method()
74 static DH *dh_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx) in dh_new_intern() argument
98 if (engine) { in dh_new_intern()
99 if (!ENGINE_init(engine)) { in dh_new_intern()
103 ret->engine = engine; in dh_new_intern()
105 ret->engine = ENGINE_get_default_DH(); in dh_new_intern()
106 if (ret->engine) { in dh_new_intern()
107 ret->meth = ENGINE_get_DH(ret->engine); in dh_new_intern()
153 ENGINE_finish(r->engine); in DH_free()
325 return dh->engine; in DH_get0_engine()