Home
last modified time | relevance | path

Searched refs:eng (Results 1 – 14 of 14) sorted by relevance

/openssl/ssl/
H A Dtls_depr.c32 ENGINE *eng; in tls_get_cipher_from_engine() local
38 eng = ENGINE_get_cipher_engine(nid); in tls_get_cipher_from_engine()
39 if (eng != NULL) { in tls_get_cipher_from_engine()
40 ret = ENGINE_get_cipher(eng, nid); in tls_get_cipher_from_engine()
41 ENGINE_finish(eng); in tls_get_cipher_from_engine()
51 ENGINE *eng; in tls_get_digest_from_engine() local
57 eng = ENGINE_get_digest_engine(nid); in tls_get_digest_from_engine()
58 if (eng != NULL) { in tls_get_digest_from_engine()
59 ret = ENGINE_get_digest(eng, nid); in tls_get_digest_from_engine()
60 ENGINE_finish(eng); in tls_get_digest_from_engine()
H A Dssl_lib.c4046 ENGINE *eng; in SSL_CTX_new_ex() local
4047 eng = ENGINE_by_id(eng_str(OPENSSL_SSL_CLIENT_ENGINE_AUTO)); in SSL_CTX_new_ex()
4048 if (!eng) { in SSL_CTX_new_ex()
4051 eng = ENGINE_by_id(eng_str(OPENSSL_SSL_CLIENT_ENGINE_AUTO)); in SSL_CTX_new_ex()
4053 if (!eng || !SSL_CTX_set_client_cert_engine(ret, eng)) in SSL_CTX_new_ex()
/openssl/apps/lib/
H A Dengine.c170 ENGINE *eng; in get_digest_from_engine() local
172 eng = ENGINE_get_digest_engine(OBJ_sn2nid(name)); in get_digest_from_engine()
173 if (eng != NULL) { in get_digest_from_engine()
174 ENGINE_finish(eng); in get_digest_from_engine()
184 ENGINE *eng; in get_cipher_from_engine() local
186 eng = ENGINE_get_cipher_engine(OBJ_sn2nid(name)); in get_cipher_from_engine()
187 if (eng != NULL) { in get_cipher_from_engine()
188 ENGINE_finish(eng); in get_cipher_from_engine()
/openssl/apps/
H A Dgenrsa.c79 ENGINE *eng = NULL; in genrsa_main() local
120 eng = setup_engine(opt_arg(), 0); in genrsa_main()
182 if (!init_gen_str(&ctx, "RSA", eng, 0, app_get0_libctx(), in genrsa_main()
245 release_engine(eng); in genrsa_main()
H A Dcmp.c754 const char *pass, ENGINE *eng, const char *desc) in load_key_pwd() argument
757 EVP_PKEY *pkey = load_key(uri, format, 0, pass_string, eng, desc); in load_key_pwd()
/openssl/doc/man3/
H A DEVP_PKEY_encrypt.pod56 set 'eng = NULL;' to start with the default OpenSSL RSA implementation:
63 ENGINE *eng;
69 * NB: assumes eng, key, in, inlen are already set up,
72 ctx = EVP_PKEY_CTX_new(key, eng);
H A DEVP_PKEY_derive.pod69 ENGINE *eng;
73 /* NB: assumes pkey, eng, peerkey have been already set up */
75 ctx = EVP_PKEY_CTX_new(pkey, eng);
H A DEVP_PKEY_decrypt.pod83 ENGINE *eng;
89 * NB: assumes key, eng, in, inlen are already set up
92 ctx = EVP_PKEY_CTX_new(key, eng);
H A DEVP_PKEY_keygen.pod167 ENGINE *eng;
170 /* Assumed param, eng are set up already */
171 ctx = EVP_PKEY_CTX_new(param, eng);
/openssl/engines/
H A De_padlock.c128 ENGINE *eng = ENGINE_new(); in ENGINE_padlock() local
130 if (eng == NULL) { in ENGINE_padlock()
134 if (!padlock_bind_helper(eng)) { in ENGINE_padlock()
135 ENGINE_free(eng); in ENGINE_padlock()
139 return eng; in ENGINE_padlock()
H A De_ossltest.c377 static EVP_PKEY *load_key(ENGINE *eng, const char *key_id, int pub, in load_key() argument
399 static EVP_PKEY *ossltest_load_privkey(ENGINE *eng, const char *key_id, in ossltest_load_privkey() argument
402 return load_key(eng, key_id, 0, ui_method, ui_data); in ossltest_load_privkey()
405 static EVP_PKEY *ossltest_load_pubkey(ENGINE *eng, const char *key_id, in ossltest_load_pubkey() argument
408 return load_key(eng, key_id, 1, ui_method, ui_data); in ossltest_load_pubkey()
H A De_capi.c126 static EVP_PKEY *capi_load_privkey(ENGINE *eng, const char *key_id,
642 static EVP_PKEY *capi_get_pkey(ENGINE *eng, CAPI_KEY *key) in capi_get_pkey() argument
687 rkey = RSA_new_method(eng); in capi_get_pkey()
743 dkey = DSA_new_method(eng); in capi_get_pkey()
814 static EVP_PKEY *capi_load_privkey(ENGINE *eng, const char *key_id, in capi_load_privkey() argument
820 ctx = ENGINE_get_ex_data(eng, capi_idx); in capi_load_privkey()
832 ret = capi_get_pkey(eng, key); in capi_load_privkey()
/openssl/crypto/engine/
H A Deng_openssl.c76 static EVP_PKEY *openssl_load_privkey(ENGINE *eng, const char *key_id,
417 static EVP_PKEY *openssl_load_privkey(ENGINE *eng, const char *key_id, in openssl_load_privkey() argument
/openssl/
H A DCHANGES.md11807 (see <http://info.isl.ntt.co.jp/crypt/eng/info/chiteki.html>).

Completed in 138 milliseconds