Home
last modified time | relevance | path

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

123456

/openssl-master/providers/common/
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-master/doc/man1/
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 …]
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.
A Dopenssl.pod153 =item B<engine>
624 =item B<-engine> I<id>
632 options when an option like B<-keyform engine> is given.
634 A special case is the C<loader_attic> engine, which
637 When this engine is used, files with such credentials are read via this engine.
643 OpenSSL engine key loading URI scheme C<org.openssl.engine:> to retrieve
647 org.openssl.engine:{engineid}:{keyid}
653 engine that's part of OpenSC):
695 about specific commands, see L<openssl-engine(1)>,
735 Show details about provider and engine configuration.
[all …]
/openssl-master/crypto/dh/
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()
95 if (engine) { in dh_new_intern()
96 if (!ENGINE_init(engine)) { in dh_new_intern()
100 ret->engine = engine; in dh_new_intern()
102 ret->engine = ENGINE_get_default_DH(); in dh_new_intern()
103 if (ret->engine) { in dh_new_intern()
148 ENGINE_finish(r->engine); in DH_free()
[all …]
/openssl-master/crypto/dsa/
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()
154 if (engine) { in dsa_new_intern()
155 if (!ENGINE_init(engine)) { in dsa_new_intern()
159 ret->engine = engine; in dsa_new_intern()
161 ret->engine = ENGINE_get_default_DSA(); in dsa_new_intern()
162 if (ret->engine) { in dsa_new_intern()
191 DSA *DSA_new_method(ENGINE *engine) in DSA_new_method() argument
193 return dsa_new_intern(engine, NULL); in DSA_new_method()
[all …]
/openssl-master/doc/man3/
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 …]
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 …]
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.
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
A DEVP_CIPHER_CTX_get_cipher_data.pod20 engines to store engine specific information. The data is automatically
24 The EVP_CIPHER_CTX_set_cipher_data() function allows an application or engine to
/openssl-master/crypto/ec/
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
109 if (engine != NULL) { in ossl_ec_key_new_method_int()
110 if (!ENGINE_init(engine)) { in ossl_ec_key_new_method_int()
114 ret->engine = engine; in ossl_ec_key_new_method_int()
116 ret->engine = ENGINE_get_default_EC(); in ossl_ec_key_new_method_int()
117 if (ret->engine != NULL) { in ossl_ec_key_new_method_int()
118 ret->meth = ENGINE_get_EC(ret->engine); in ossl_ec_key_new_method_int()
148 EC_KEY *EC_KEY_new_method(ENGINE *engine) in EC_KEY_new_method() argument
[all …]
A Dec_key.c87 ENGINE_finish(r->engine); in EC_KEY_free()
117 if (ENGINE_finish(dest->engine) == 0) in EC_KEY_copy()
119 dest->engine = NULL; in EC_KEY_copy()
172 if (src->engine != NULL && ENGINE_init(src->engine) == 0) in EC_KEY_copy()
174 dest->engine = src->engine; in EC_KEY_copy()
206 return eckey->engine; in EC_KEY_get0_engine()
/openssl-master/engines/
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-master/providers/implementations/kdfs/
A Dkrb5kdf.c45 static int KRB5KDF(const EVP_CIPHER *cipher, ENGINE *engine,
109 ENGINE *engine; in krb5kdf_derive() local
127 engine = ossl_prov_cipher_engine(&ctx->cipher); in krb5kdf_derive()
128 return KRB5KDF(cipher, engine, ctx->key, ctx->key_len, in krb5kdf_derive()
326 const EVP_CIPHER *cipher, ENGINE *engine, in cipher_init() argument
331 ret = EVP_EncryptInit_ex(ctx, cipher, engine, key, NULL); in cipher_init()
352 static int KRB5KDF(const EVP_CIPHER *cipher, ENGINE *engine, in KRB5KDF() argument
388 ret = cipher_init(ctx, cipher, engine, key, key_len); in KRB5KDF()
432 ret = cipher_init(ctx, cipher, engine, key, key_len); in KRB5KDF()
/openssl-master/providers/common/include/prov/
A Dprovider_util.h23 ENGINE *engine; /* cipher engine */ member
36 ENGINE *engine; /* digest engine */ member
99 const char *engine,
/openssl-master/crypto/rsa/
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()
96 if (engine) { in rsa_new_intern()
97 if (!ENGINE_init(engine)) { in rsa_new_intern()
101 ret->engine = engine; in rsa_new_intern()
103 ret->engine = ENGINE_get_default_RSA(); in rsa_new_intern()
105 if (ret->engine) { in rsa_new_intern()
149 ENGINE_finish(r->engine); in RSA_free()
[all …]
/openssl-master/providers/implementations/signature/
A Dmac_legacy_sig.c102 const char *ciphername = NULL, *engine = NULL; in mac_digest_sign_init() local
123 if (pmacctx->key->cipher.engine != NULL) in mac_digest_sign_init()
124 engine = (char *)ENGINE_get_id(pmacctx->key->cipher.engine); in mac_digest_sign_init()
130 (char *)engine, in mac_digest_sign_init()
/openssl-master/test/
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-master/
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
300 apps/openssl engine -vvvv dynamic \
[all …]
/openssl-master/crypto/rand/
A Drand_lib.c215 int RAND_set_rand_engine(ENGINE *engine) in RAND_set_rand_engine() argument
222 if (engine != NULL) { in RAND_set_rand_engine()
223 if (!ENGINE_init(engine)) in RAND_set_rand_engine()
225 tmp_meth = ENGINE_get_RAND(engine); in RAND_set_rand_engine()
227 ENGINE_finish(engine); in RAND_set_rand_engine()
232 ENGINE_finish(engine); in RAND_set_rand_engine()
237 rand_set_rand_method_internal(tmp_meth, engine); in RAND_set_rand_engine()
/openssl-master/crypto/evp/
A Ddigest.c54 ENGINE_finish(ctx->engine); in evp_md_ctx_clear_digest()
55 ctx->engine = NULL; in evp_md_ctx_clear_digest()
183 if (ctx->engine != NULL in evp_md_init_internal()
193 ENGINE_finish(ctx->engine); in evp_md_init_internal()
194 ctx->engine = NULL; in evp_md_init_internal()
206 || ctx->engine != NULL in evp_md_init_internal()
302 ctx->engine = impl; in evp_md_init_internal()
304 ctx->engine = NULL; in evp_md_init_internal()
562 if (in->engine && !ENGINE_init(in->engine)) { in EVP_MD_CTX_copy_ex()
/openssl-master/apps/
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
277 engine = opt_arg(); in ts_main()
330 ret = !reply_command(conf, section, engine, queryfile, in ts_main()
584 static int reply_command(CONF *conf, const char *section, const char *engine, in reply_command() argument
607 response = create_response(conf, section, engine, queryfile, in reply_command()
692 static TS_RESP *create_response(CONF *conf, const char *section, const char *engine, in create_response() argument
711 if (!TS_CONF_set_crypto_device(conf, section, engine)) in create_response()
A Dcmp.c950 static OSSL_CMP_SRV_CTX *setup_srv_ctx(ENGINE *engine) in setup_srv_ctx() argument
1184 ENGINE *engine) in setup_ssl_ctx() argument
1285 engine, "TLS client private key"); in setup_ssl_ctx()
1873 info->ssl_ctx = setup_ssl_ctx(ctx, host, engine); in setup_client_ctx()
1880 if (!setup_protection_ctx(ctx, engine)) in setup_client_ctx()
1883 if (!setup_request_ctx(ctx, engine)) in setup_client_ctx()
2637 ENGINE *engine = NULL; in cmp_main() local
2721 if (engine == NULL) { in cmp_main()
2749 if ((srv_ctx = setup_srv_ctx(engine)) == NULL) in cmp_main()
2784 if (!setup_client_ctx(cmp_ctx, engine)) { in cmp_main()
[all …]
/openssl-master/apps/lib/
A Dengine.c28 static ENGINE *try_load_engine(const char *engine) in try_load_engine() argument
33 if (!ENGINE_ctrl_cmd_string(e, "SO_PATH", engine, 0) in try_load_engine()

Completed in 39 milliseconds

123456