Lines Matching refs:engine
31 static RSA *rsa_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx);
55 ENGINE_finish(rsa->engine); in RSA_set_method()
56 rsa->engine = NULL; in RSA_set_method()
64 RSA *RSA_new_method(ENGINE *engine) in RSA_new_method() argument
66 return rsa_new_intern(engine, NULL); in RSA_new_method()
75 static RSA *rsa_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx) in rsa_new_intern() argument
99 if (engine) { in rsa_new_intern()
100 if (!ENGINE_init(engine)) { in rsa_new_intern()
104 ret->engine = engine; in rsa_new_intern()
106 ret->engine = ENGINE_get_default_RSA(); in rsa_new_intern()
108 if (ret->engine) { in rsa_new_intern()
109 ret->meth = ENGINE_get_RSA(ret->engine); in rsa_new_intern()
152 ENGINE_finish(r->engine); in RSA_free()
736 return r->engine; in RSA_get0_engine()