Home
last modified time | relevance | path

Searched refs:engine (Results 1 – 25 of 160) sorted by relevance

1234567

/openssl/providers/common/
H A Dprovider_util.c32 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()
65 ENGINE_finish(*engine); in load_common()
67 *engine = NULL; in load_common()
137 return pc->engine; in ossl_prov_cipher_engine()
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()
221 return pd->engine; in ossl_prov_digest_engine()
[all …]
/openssl/doc/man1/
H A Dopenssl-engine.pod.in6 openssl-engine - load and query engines
10 B<openssl engine>
21 [I<engine> ...]
28 of the specified I<engine>s.
49 Lists the capabilities of each engine.
79 $ openssl engine -t -tt -vvvv dynamic
80 (dynamic) Dynamic engine loading support
97 To list the capabilities of the B<rsax> engine:
99 $ openssl engine -c
100 (rsax) RSAX engine support
[all …]
H A Dopenssl-format-options.pod25 In order to access a key via an engine the input format B<ENGINE> may be used;
27 option may be preceded by C<org.openssl.engine:>.
70 Used to specify that the cryptographic material is in an OpenSSL B<engine>.
71 An engine must be configured or specified using the B<-engine> option.
72 A password or PIN may be supplied to the engine using the B<-passin> option.
H A Dopenssl.pod132 =item B<engine>
625 =item B<-engine> I<id>
633 options when an option like B<-keyform engine> is given.
635 A special case is the C<loader_attic> engine, which
638 When this engine is used, files with such credentials are read via this engine.
644 OpenSSL engine key loading URI scheme C<org.openssl.engine:> to retrieve
648 org.openssl.engine:{engineid}:{keyid}
654 engine that's part of OpenSC):
656 -key org.openssl.engine:pkcs11:label_some-private-key
704 For information about specific commands, see L<openssl-engine(1)>,
[all …]
/openssl/crypto/dh/
H A Ddh_lib.c43 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()
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()
153 ENGINE_finish(r->engine); in DH_free()
[all …]
/openssl/crypto/dsa/
H A Ddsa_lib.c103 return d->engine; in DSA_get0_engine()
117 ENGINE_finish(dsa->engine); in DSA_set_method()
118 dsa->engine = NULL; in DSA_set_method()
157 if (engine) { in dsa_new_intern()
158 if (!ENGINE_init(engine)) { in dsa_new_intern()
162 ret->engine = engine; in dsa_new_intern()
164 ret->engine = ENGINE_get_default_DSA(); in dsa_new_intern()
165 if (ret->engine) { in dsa_new_intern()
196 DSA *DSA_new_method(ENGINE *engine) in DSA_new_method() argument
198 return dsa_new_intern(engine, NULL); in DSA_new_method()
[all …]
/openssl/ssl/quic/
H A Dquic_port.c42 port->engine = args->engine; in ossl_quic_port_new()
67 if (port->engine == NULL || port->channel_ctx == NULL) in port_init()
82 if ((port->srtm = ossl_quic_srtm_new(port->engine->libctx, in port_init()
86 if ((port->lcidm = ossl_quic_lcidm_new(port->engine->libctx, in port_init()
94 ossl_list_port_insert_tail(&port->engine->port_list, port); in port_init()
120 ossl_list_port_remove(&port->engine->port_list, port); in port_cleanup()
140 return port->engine; in ossl_quic_port_get0_engine()
145 return ossl_quic_engine_get0_reactor(port->engine); in ossl_quic_port_get0_reactor()
155 return ossl_quic_engine_get0_mutex(port->engine); in ossl_quic_port_get0_mutex()
160 return ossl_quic_engine_get_time(port->engine); in ossl_quic_port_get_time()
[all …]
H A Dquic_engine.c104 if (largs.engine != NULL) in ossl_quic_engine_create_port()
107 largs.engine = qeng; in ossl_quic_engine_create_port()
H A Dquic_tserver.c33 QUIC_ENGINE *engine; member
128 if ((srv->engine = ossl_quic_engine_new(&engine_args)) == NULL) in ossl_quic_tserver_new()
134 if ((srv->port = ossl_quic_engine_create_port(srv->engine, &port_args)) == NULL) in ossl_quic_tserver_new()
160 ossl_quic_engine_free(srv->engine); in ossl_quic_tserver_new()
179 ossl_quic_engine_free(srv->engine); in ossl_quic_tserver_free()
/openssl/doc/man3/
H A DSSL_set_async_callback.pod29 objects generated based on this B<SSL_CTX> will get this callback. If an engine
31 B<SSL_MODE_ASYNC> has been set and an asynchronous capable engine completes a
37 asynchronous B<SSL> object, so that when an engine completes a cryptography
44 SSL_get_async_status() returns the engine status. This function facilitates the
45 communication from the engine to the application. During an SSL session,
46 cryptographic operations are dispatched to an engine. The engine status is very
48 dispatched. If the engine does not support this additional callback method,
67 OpenSSL submits the asynchronous request to the engine. If a retry occurs at
73 The OpenSSL engine pauses the current job and returns, so that the
79 interrupt) the engine will become aware that the asynchronous request has
[all …]
H A DASYNC_WAIT_CTX_new.pod73 only one asynchronous engine is being used then normally this call will only
109 the B<ASYNC_WAIT_CTX> is freed, and gives the engine the opportunity to close
113 An example of typical usage might be an async capable engine. User code would
114 initiate cryptographic operations. The engine would initiate those operations
120 "readable". Once resumed the engine should clear the wake signal on the wait
126 engine. This additional method can be used when the user thinks that a file
131 callback will be called to notify user code when an engine completes a
139 ASYNC_WAIT_CTX_set_status() allows an engine to set the current engine status.
162 The engine has some problem which will be recovered soon, such as a buffer is
169 should not expect to receive a callback from the engine even if one has been
[all …]
H A DEVP_PKEY_asn1_get_count.pod38 If B<pe> isn't B<NULL>, then it will look up an engine implementing a
40 and also set B<*pe> to point at the engine that implements it.
45 look up an engine implementing a B<EVP_PKEY_ASN1_METHOD> for the NID
47 engine that implements it.
H A DDSA_set_method.pod22 DSA *DSA_new_method(ENGINE *engine);
62 DSA_new_method() allocates and initializes a DSA structure so that B<engine>
63 will be used for the DSA operations. If B<engine> is NULL, the default engine
/openssl/crypto/ec/
H A Dec_kmeth.c71 ENGINE_finish(key->engine); in EC_KEY_set_method()
72 key->engine = NULL; in EC_KEY_set_method()
82 ENGINE *engine) in ossl_ec_key_new_method_int() argument
103 if (engine != NULL) { in ossl_ec_key_new_method_int()
104 if (!ENGINE_init(engine)) { in ossl_ec_key_new_method_int()
108 ret->engine = engine; in ossl_ec_key_new_method_int()
110 ret->engine = ENGINE_get_default_EC(); in ossl_ec_key_new_method_int()
111 if (ret->engine != NULL) { in ossl_ec_key_new_method_int()
112 ret->meth = ENGINE_get_EC(ret->engine); in ossl_ec_key_new_method_int()
143 EC_KEY *EC_KEY_new_method(ENGINE *engine) in EC_KEY_new_method() argument
[all …]
/openssl/engines/
H A Dbuild.info1 IF[{- !$disabled{"engine"} -}]
15 IF[{- $disabled{"dynamic-engine"} -}]
32 MODULES{engine}=padlock
43 MODULES{engine}=capi
53 MODULES{engine}=afalg
63 MODULES{engine}=devcrypto
73 MODULES{engine}=loader_attic
84 MODULES{noinst,engine}=ossltest dasync
/openssl/
H A D.gitmodules9 [submodule "gost-engine"]
10 path = gost-engine
11 url = https://github.com/gost-engine/engine
H A DREADME-ENGINES.md65 ENGINEs), use the "engine" openssl utility with full verbosity, i.e.:
67 openssl engine -vvvv
169 openssl engine -vvvv dynamic
199 For testing, the "openssl engine" utility can be useful for this sort
203 openssl engine dynamic \
211 openssl engine -vvvv dynamic \
222 Whilst the syntax demonstrated in "openssl engine" uses a colon to
226 "-pre" syntax in the "openssl engine" utility is that some commands
273 1. "cd" to the crypto/engine/ directory of a pre-compiled OpenSSL
301 apps/openssl engine -vvvv dynamic \
[all …]
/openssl/providers/implementations/kdfs/
H A Dkrb5kdf.c46 static int KRB5KDF(const EVP_CIPHER *cipher, ENGINE *engine,
130 ENGINE *engine; in krb5kdf_derive() local
148 engine = ossl_prov_cipher_engine(&ctx->cipher); in krb5kdf_derive()
149 return KRB5KDF(cipher, engine, ctx->key, ctx->key_len, in krb5kdf_derive()
348 const EVP_CIPHER *cipher, ENGINE *engine, in cipher_init() argument
353 ret = EVP_EncryptInit_ex(ctx, cipher, engine, key, NULL); in cipher_init()
376 static int KRB5KDF(const EVP_CIPHER *cipher, ENGINE *engine, in KRB5KDF() argument
412 ret = cipher_init(ctx, cipher, engine, key, key_len); in KRB5KDF()
462 ret = cipher_init(ctx, cipher, engine, key, key_len); in KRB5KDF()
/openssl/providers/common/include/prov/
H A Dprovider_util.h23 ENGINE *engine; /* cipher engine */ member
36 ENGINE *engine; /* digest engine */ member
99 const char *engine,
/openssl/providers/implementations/signature/
H A Dmac_legacy_sig.c100 const char *ciphername = NULL, *engine = NULL; in mac_digest_sign_init() local
121 if (pmacctx->key->cipher.engine != NULL) in mac_digest_sign_init()
122 engine = (char *)ENGINE_get_id(pmacctx->key->cipher.engine); in mac_digest_sign_init()
128 (char *)engine, in mac_digest_sign_init()
/openssl/crypto/rsa/
H A Drsa_lib.c55 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()
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()
152 ENGINE_finish(r->engine); in RSA_free()
[all …]
/openssl/test/
H A DREADME-external.md68 GOST engine test suite
71 Much like the PYCA/Cryptography test suite, this builds and runs the GOST engine
74 You will need a git checkout of gost-engine at the top level:
83 GOST engine requires CMake for the build process.
85 GOST engine tests will then be run as part of the rest of the suite, or can be
/openssl/apps/
H A Dts.c49 static int reply_command(CONF *conf, const char *section, const char *engine,
55 static TS_RESP *create_response(CONF *conf, const char *section, const char *engine,
163 const char *configfile = default_config_file, *engine = NULL; in ts_main() local
280 engine = opt_arg(); in ts_main()
334 ret = !reply_command(conf, section, engine, queryfile, in ts_main()
590 static int reply_command(CONF *conf, const char *section, const char *engine, in reply_command() argument
613 response = create_response(conf, section, engine, queryfile, in reply_command()
698 static TS_RESP *create_response(CONF *conf, const char *section, const char *engine, in create_response() argument
717 if (!TS_CONF_set_crypto_device(conf, section, engine)) in create_response()
/openssl/.github/workflows/
H A Drun-checker-merge.yml24 no-dynamic-engine,
26 no-engine no-shared,
/openssl/crypto/evp/
H A Ddigest.c64 ENGINE_finish(ctx->engine); in evp_md_ctx_clear_digest()
65 ctx->engine = NULL; in evp_md_ctx_clear_digest()
204 if (ctx->engine != NULL in evp_md_init_internal()
214 ENGINE_finish(ctx->engine); in evp_md_init_internal()
215 ctx->engine = NULL; in evp_md_init_internal()
227 || ctx->engine != NULL in evp_md_init_internal()
333 ctx->engine = impl; in evp_md_init_internal()
335 ctx->engine = NULL; in evp_md_init_internal()
672 if (in->engine && !ENGINE_init(in->engine)) { in EVP_MD_CTX_copy_ex()

Completed in 65 milliseconds

1234567