Lines Matching defs:engine
431 {"engine", OPT_ENGINE, 's',
432 "Use crypto engine with given identifier, possibly a hardware device."},
434 "Engines may also be defined in OpenSSL config file engine section."},
1020 static OSSL_CMP_SRV_CTX *setup_srv_ctx(ENGINE *engine)
1079 engine, "private key for mock server cert");
1253 ENGINE *engine)
1356 engine, "TLS client private key");
1400 static int setup_protection_ctx(OSSL_CMP_CTX *ctx, ENGINE *engine)
1438 EVP_PKEY *pkey = load_key_pwd(opt_key, opt_keyform, opt_keypass, engine,
1519 static int setup_request_ctx(OSSL_CMP_CTX *ctx, ENGINE *engine)
1631 pkey = load_key_pwd(file, format, pass, engine, desc);
1638 pkey = load_pubkey(file, format, 0, pass, engine, desc);
1845 static int setup_client_ctx(OSSL_CMP_CTX *ctx, ENGINE *engine)
1974 info->ssl_ctx = setup_ssl_ctx(ctx, host, engine);
1989 if (!setup_protection_ctx(ctx, engine))
1992 if (!setup_request_ctx(ctx, engine))
2791 ENGINE *engine = NULL;
2875 engine = setup_engine_methods(opt_engine, 0 /* not: ENGINE_METHOD_ALL */, 0);
2876 if (engine == NULL) {
2877 CMP_err1("cannot load engine %s", opt_engine);
2928 if ((srv_ctx = setup_srv_ctx(engine)) == NULL)
2960 if (!setup_client_ctx(cmp_ctx, engine)) {
3077 release_engine(engine);