/third_party/openssl/include/openssl/ |
D | engine.h | 261 typedef int (*ENGINE_GEN_INT_FUNC_PTR) (ENGINE *); 263 typedef int (*ENGINE_CTRL_FUNC_PTR) (ENGINE *, int, long, void *, 266 typedef EVP_PKEY *(*ENGINE_LOAD_KEY_PTR)(ENGINE *, const char *, 269 typedef int (*ENGINE_SSL_CLIENT_CERT_PTR) (ENGINE *, SSL *ssl, 290 typedef int (*ENGINE_CIPHERS_PTR) (ENGINE *, const EVP_CIPHER **, 292 typedef int (*ENGINE_DIGESTS_PTR) (ENGINE *, const EVP_MD **, const int **, 294 typedef int (*ENGINE_PKEY_METHS_PTR) (ENGINE *, EVP_PKEY_METHOD **, 296 typedef int (*ENGINE_PKEY_ASN1_METHS_PTR) (ENGINE *, EVP_PKEY_ASN1_METHOD **, 311 ENGINE *ENGINE_get_first(void); 312 ENGINE *ENGINE_get_last(void); [all …]
|
/third_party/openssl/doc/man3/ |
D | ENGINE_add.pod | 43 - ENGINE cryptographic module support 49 ENGINE *ENGINE_get_first(void); 50 ENGINE *ENGINE_get_last(void); 51 ENGINE *ENGINE_get_next(ENGINE *e); 52 ENGINE *ENGINE_get_prev(ENGINE *e); 54 int ENGINE_add(ENGINE *e); 55 int ENGINE_remove(ENGINE *e); 57 ENGINE *ENGINE_by_id(const char *id); 59 int ENGINE_init(ENGINE *e); 60 int ENGINE_finish(ENGINE *e); [all …]
|
D | DH_set_method.pod | 18 DH *DH_new_method(ENGINE *engine); 28 of B<ENGINE> API calls. 35 B<NB>: This is true only whilst no ENGINE has been set 41 However, the meaningfulness of this result is dependent on whether the ENGINE 46 was supplied by an ENGINE, the handle to that ENGINE will be released during the 48 implementations (e.g. from an ENGINE module that supports embedded 53 be used for the DH operations. If B<engine> is NULL, the default ENGINE for DH 54 operations is used, and if no default ENGINE is set, the DH_METHOD controlled by 68 the method for B<dh> (including unloading the ENGINE handle if the previous 69 method was supplied by an ENGINE).
|
D | DSA_set_method.pod | 18 DSA *DSA_new_method(ENGINE *engine); 28 of B<ENGINE> API calls. 35 B<NB>: This is true only whilst no ENGINE has 42 whether the ENGINE API is being used, so this function is no longer 47 previous method was supplied by an ENGINE, the handle to that ENGINE will 49 work with certain DSA_METHOD implementations (e.g. from an ENGINE module 57 for DSA operations is used, and if no default ENGINE is set, the DSA_METHOD 68 the method for B<dsa> (including unloading the ENGINE handle if the previous 69 method was supplied by an ENGINE).
|
/third_party/openssl/crypto/engine/ |
D | eng_lib.c | 29 ENGINE *ENGINE_new(void) in ENGINE_new() 31 ENGINE *ret; in ENGINE_new() 52 void engine_set_all_null(ENGINE *e) in engine_set_all_null() 73 int engine_free_util(ENGINE *e, int not_locked) in engine_free_util() 102 int ENGINE_free(ENGINE *e) in ENGINE_free() 181 int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg) in ENGINE_set_ex_data() 186 void *ENGINE_get_ex_data(const ENGINE *e, int idx) in ENGINE_get_ex_data() 196 int ENGINE_set_id(ENGINE *e, const char *id) in ENGINE_set_id() 206 int ENGINE_set_name(ENGINE *e, const char *name) in ENGINE_set_name() 216 int ENGINE_set_destroy_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR destroy_f) in ENGINE_set_destroy_function() [all …]
|
D | eng_list.c | 24 static ENGINE *engine_list_head = NULL; 25 static ENGINE *engine_list_tail = NULL; 30 static ENGINE *engine_dyn_list_head = NULL; 31 static ENGINE *engine_dyn_list_tail = NULL; 41 ENGINE *iterator = engine_list_head; in engine_list_cleanup() 54 static int engine_list_add(ENGINE *e) in engine_list_add() 57 ENGINE *iterator = NULL; in engine_list_add() 104 static int engine_list_remove(ENGINE *e) in engine_list_remove() 106 ENGINE *iterator; in engine_list_remove() 136 int engine_add_dynamic_id(ENGINE *e, ENGINE_DYNAMIC_ID dynamic_id, in engine_add_dynamic_id() [all …]
|
D | eng_local.h | 59 DEFINE_STACK_OF(ENGINE) 75 ENGINE *e, const int *nids, int num_nids, 77 void engine_table_unregister(ENGINE_TABLE **table, ENGINE *e); 80 ENGINE *engine_table_select(ENGINE_TABLE **table, int nid); 82 ENGINE *engine_table_select_tmp(ENGINE_TABLE **table, int nid, const char *f, 86 typedef void (engine_table_doall_cb) (int nid, STACK_OF(ENGINE) *sk, 87 ENGINE *def, void *arg); 96 int engine_unlocked_init(ENGINE *e); 97 int engine_unlocked_finish(ENGINE *e, int unlock_for_handlers); 98 int engine_free_util(ENGINE *e, int not_locked); [all …]
|
D | tb_asnmth.c | 25 void ENGINE_unregister_pkey_asn1_meths(ENGINE *e) in ENGINE_unregister_pkey_asn1_meths() 35 int ENGINE_register_pkey_asn1_meths(ENGINE *e) in ENGINE_register_pkey_asn1_meths() 50 ENGINE *e; in ENGINE_register_all_pkey_asn1_meths() 56 int ENGINE_set_default_pkey_asn1_meths(ENGINE *e) in ENGINE_set_default_pkey_asn1_meths() 74 ENGINE *ENGINE_get_pkey_asn1_meth_engine(int nid) in ENGINE_get_pkey_asn1_meth_engine() 83 const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth(ENGINE *e, int nid) in ENGINE_get_pkey_asn1_meth() 96 ENGINE_PKEY_ASN1_METHS_PTR ENGINE_get_pkey_asn1_meths(const ENGINE *e) in ENGINE_get_pkey_asn1_meths() 102 int ENGINE_set_pkey_asn1_meths(ENGINE *e, ENGINE_PKEY_ASN1_METHS_PTR f) in ENGINE_set_pkey_asn1_meths() 113 void engine_pkey_asn1_meths_free(ENGINE *e) in engine_pkey_asn1_meths_free() 136 const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth_str(ENGINE *e, in ENGINE_get_pkey_asn1_meth_str() [all …]
|
D | tb_pkmeth.c | 15 void ENGINE_unregister_pkey_meths(ENGINE *e) in ENGINE_unregister_pkey_meths() 25 int ENGINE_register_pkey_meths(ENGINE *e) in ENGINE_register_pkey_meths() 40 ENGINE *e; in ENGINE_register_all_pkey_meths() 46 int ENGINE_set_default_pkey_meths(ENGINE *e) in ENGINE_set_default_pkey_meths() 64 ENGINE *ENGINE_get_pkey_meth_engine(int nid) in ENGINE_get_pkey_meth_engine() 70 const EVP_PKEY_METHOD *ENGINE_get_pkey_meth(ENGINE *e, int nid) in ENGINE_get_pkey_meth() 83 ENGINE_PKEY_METHS_PTR ENGINE_get_pkey_meths(const ENGINE *e) in ENGINE_get_pkey_meths() 89 int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f) in ENGINE_set_pkey_meths() 100 void engine_pkey_meths_free(ENGINE *e) in engine_pkey_meths_free()
|
D | tb_cipher.c | 14 void ENGINE_unregister_ciphers(ENGINE *e) in ENGINE_unregister_ciphers() 24 int ENGINE_register_ciphers(ENGINE *e) in ENGINE_register_ciphers() 39 ENGINE *e; in ENGINE_register_all_ciphers() 45 int ENGINE_set_default_ciphers(ENGINE *e) in ENGINE_set_default_ciphers() 63 ENGINE *ENGINE_get_cipher_engine(int nid) in ENGINE_get_cipher_engine() 69 const EVP_CIPHER *ENGINE_get_cipher(ENGINE *e, int nid) in ENGINE_get_cipher() 81 ENGINE_CIPHERS_PTR ENGINE_get_ciphers(const ENGINE *e) in ENGINE_get_ciphers() 87 int ENGINE_set_ciphers(ENGINE *e, ENGINE_CIPHERS_PTR f) in ENGINE_set_ciphers()
|
D | tb_digest.c | 14 void ENGINE_unregister_digests(ENGINE *e) in ENGINE_unregister_digests() 24 int ENGINE_register_digests(ENGINE *e) in ENGINE_register_digests() 39 ENGINE *e; in ENGINE_register_all_digests() 45 int ENGINE_set_default_digests(ENGINE *e) in ENGINE_set_default_digests() 63 ENGINE *ENGINE_get_digest_engine(int nid) in ENGINE_get_digest_engine() 69 const EVP_MD *ENGINE_get_digest(ENGINE *e, int nid) in ENGINE_get_digest() 81 ENGINE_DIGESTS_PTR ENGINE_get_digests(const ENGINE *e) in ENGINE_get_digests() 87 int ENGINE_set_digests(ENGINE *e, ENGINE_DIGESTS_PTR f) in ENGINE_set_digests()
|
D | README | 7 the "ENGINE" code. So it serves a double purpose of being a "ENGINE internals 49 into ENGINE is storage - the OBJ_NAME-based storage used by EVP to register 53 solution is necessarily that ENGINE-provided ciphers simply are not registered, 55 especially necessary considering the fact ENGINE uses reference counts to allow 59 Another sticking point for integrating cipher support into ENGINE is linkage. 60 Already there is a problem with the way ENGINE supports RSA, DSA, etc whereby 61 they are available *because* they're part of a giant ENGINE called "openssl". 62 Ie. all implementations *have* to come from an ENGINE, but we get round that by 63 having a giant ENGINE with all the software support encapsulated. This creates 66 ENGINE code being linked in *and* because of that DSA, DH, and RAND also. If we [all …]
|
D | tb_dh.c | 15 void ENGINE_unregister_DH(ENGINE *e) in ENGINE_unregister_DH() 25 int ENGINE_register_DH(ENGINE *e) in ENGINE_register_DH() 36 ENGINE *e; in ENGINE_register_all_DH() 42 int ENGINE_set_default_DH(ENGINE *e) in ENGINE_set_default_DH() 56 ENGINE *ENGINE_get_default_DH(void) in ENGINE_get_default_DH() 62 const DH_METHOD *ENGINE_get_DH(const ENGINE *e) in ENGINE_get_DH() 68 int ENGINE_set_DH(ENGINE *e, const DH_METHOD *dh_meth) in ENGINE_set_DH()
|
D | tb_rand.c | 15 void ENGINE_unregister_RAND(ENGINE *e) in ENGINE_unregister_RAND() 25 int ENGINE_register_RAND(ENGINE *e) in ENGINE_register_RAND() 36 ENGINE *e; in ENGINE_register_all_RAND() 42 int ENGINE_set_default_RAND(ENGINE *e) in ENGINE_set_default_RAND() 56 ENGINE *ENGINE_get_default_RAND(void) in ENGINE_get_default_RAND() 62 const RAND_METHOD *ENGINE_get_RAND(const ENGINE *e) in ENGINE_get_RAND() 68 int ENGINE_set_RAND(ENGINE *e, const RAND_METHOD *rand_meth) in ENGINE_set_RAND()
|
D | tb_rsa.c | 15 void ENGINE_unregister_RSA(ENGINE *e) in ENGINE_unregister_RSA() 25 int ENGINE_register_RSA(ENGINE *e) in ENGINE_register_RSA() 36 ENGINE *e; in ENGINE_register_all_RSA() 42 int ENGINE_set_default_RSA(ENGINE *e) in ENGINE_set_default_RSA() 56 ENGINE *ENGINE_get_default_RSA(void) in ENGINE_get_default_RSA() 62 const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e) in ENGINE_get_RSA() 68 int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth) in ENGINE_set_RSA()
|
D | tb_dsa.c | 15 void ENGINE_unregister_DSA(ENGINE *e) in ENGINE_unregister_DSA() 25 int ENGINE_register_DSA(ENGINE *e) in ENGINE_register_DSA() 36 ENGINE *e; in ENGINE_register_all_DSA() 42 int ENGINE_set_default_DSA(ENGINE *e) in ENGINE_set_default_DSA() 56 ENGINE *ENGINE_get_default_DSA(void) in ENGINE_get_default_DSA() 62 const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e) in ENGINE_get_DSA() 68 int ENGINE_set_DSA(ENGINE *e, const DSA_METHOD *dsa_meth) in ENGINE_set_DSA()
|
D | tb_eckey.c | 15 void ENGINE_unregister_EC(ENGINE *e) in ENGINE_unregister_EC() 25 int ENGINE_register_EC(ENGINE *e) in ENGINE_register_EC() 36 ENGINE *e; in ENGINE_register_all_EC() 42 int ENGINE_set_default_EC(ENGINE *e) in ENGINE_set_default_EC() 56 ENGINE *ENGINE_get_default_EC(void) in ENGINE_get_default_EC() 62 const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e) in ENGINE_get_EC() 68 int ENGINE_set_EC(ENGINE *e, const EC_KEY_METHOD *ec_meth) in ENGINE_set_EC()
|
D | eng_pkey.c | 14 int ENGINE_set_load_privkey_function(ENGINE *e, in ENGINE_set_load_privkey_function() 21 int ENGINE_set_load_pubkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f) in ENGINE_set_load_pubkey_function() 27 int ENGINE_set_load_ssl_client_cert_function(ENGINE *e, in ENGINE_set_load_ssl_client_cert_function() 35 ENGINE_LOAD_KEY_PTR ENGINE_get_load_privkey_function(const ENGINE *e) in ENGINE_get_load_privkey_function() 40 ENGINE_LOAD_KEY_PTR ENGINE_get_load_pubkey_function(const ENGINE *e) in ENGINE_get_load_pubkey_function() 45 ENGINE_SSL_CLIENT_CERT_PTR ENGINE_get_ssl_client_cert_function(const ENGINE in ENGINE_get_ssl_client_cert_function() 53 EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, in ENGINE_load_private_key() 84 EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, in ENGINE_load_public_key() 114 int ENGINE_load_ssl_client_cert(ENGINE *e, SSL *s, in ENGINE_load_ssl_client_cert()
|
D | eng_dyn.c | 21 static int dynamic_init(ENGINE *e); 22 static int dynamic_finish(ENGINE *e); 23 static int dynamic_ctrl(ENGINE *e, int cmd, long i, void *p, 28 static int dynamic_load(ENGINE *e, dynamic_data_ctx *ctx); 154 static int dynamic_set_data_ctx(ENGINE *e, dynamic_data_ctx **ctx) in dynamic_set_data_ctx() 198 static dynamic_data_ctx *dynamic_get_data_ctx(ENGINE *e) in dynamic_get_data_ctx() 234 static ENGINE *engine_dynamic(void) in engine_dynamic() 236 ENGINE *ret = ENGINE_new(); in engine_dynamic() 254 ENGINE *toadd = engine_dynamic(); in engine_load_dynamic_int() 271 static int dynamic_init(ENGINE *e) in dynamic_init() [all …]
|
D | eng_rdrand.c | 48 static int rdrand_init(ENGINE *e) in rdrand_init() 56 static int bind_helper(ENGINE *e) in bind_helper() 68 static ENGINE *ENGINE_rdrand(void) in ENGINE_rdrand() 70 ENGINE *ret = ENGINE_new(); in ENGINE_rdrand() 85 ENGINE *toadd = ENGINE_rdrand(); in engine_load_rdrand_int()
|
D | eng_openssl.c | 55 static int openssl_destroy(ENGINE *e); 58 static int openssl_ciphers(ENGINE *e, const EVP_CIPHER **cipher, 62 static int openssl_digests(ENGINE *e, const EVP_MD **digest, 67 static EVP_PKEY *openssl_load_privkey(ENGINE *eng, const char *key_id, 74 static int ossl_pkey_meths(ENGINE *e, EVP_PKEY_METHOD **pmeth, 86 static int bind_helper(ENGINE *e) in bind_helper() 129 static ENGINE *engine_openssl(void) in engine_openssl() 131 ENGINE *ret = ENGINE_new(); in engine_openssl() 143 ENGINE *toadd = engine_openssl(); in engine_load_openssl_int() 160 static int bind_fn(ENGINE *e, const char *id) in bind_fn() [all …]
|
D | eng_table.c | 20 STACK_OF(ENGINE) *sk; 22 ENGINE *funct; 83 ENGINE *e, const int *nids, int num_nids, in engine_table_register() 146 static void int_unregister_cb(ENGINE_PILE *pile, ENGINE *e) in int_unregister_cb() 160 IMPLEMENT_LHASH_DOALL_ARG(ENGINE_PILE, ENGINE); 162 void engine_table_unregister(ENGINE_TABLE **table, ENGINE *e) in engine_table_unregister() 193 ENGINE *engine_table_select(ENGINE_TABLE **table, int nid) in engine_table_select() 195 ENGINE *engine_table_select_tmp(ENGINE_TABLE **table, int nid, const char *f, in engine_table_select() 199 ENGINE *ret = NULL; in engine_table_select()
|
/third_party/openssl/ |
D | README.ENGINE | 1 ENGINE 6 crypto devices (eg. accelerator cards). This component is called ENGINE, 10 the ENGINE code has been merged into the main branch and will be present 13 There are currently built-in ENGINE implementations for the following 20 In addition, dynamic binding to external ENGINE implementations is now 21 provided by a special ENGINE called "dynamic". See the "DYNAMIC ENGINE" 31 the ENGINE model so that alternative implementations of existing 33 ENGINE implementations. 35 2 Configuration support currently exists in the ENGINE API itself, in the 37 user/admin the set of commands and parameter types a given ENGINE [all …]
|
/third_party/node/test/addons/openssl-key-engine/ |
D | testkeyengine.cc | 29 int EngineInit(ENGINE* engine) { in EngineInit() 33 int EngineFinish(ENGINE* engine) { in EngineFinish() 37 int EngineDestroy(ENGINE* engine) { in EngineDestroy() 47 static EVP_PKEY* EngineLoadPrivkey(ENGINE* engine, const char* name, in EngineLoadPrivkey() 63 int bind_fn(ENGINE* engine, const char* id) { in bind_fn()
|
/third_party/node/test/addons/openssl-client-cert-engine/ |
D | testengine.cc | 30 int EngineInit(ENGINE* engine) { in EngineInit() 34 int EngineFinish(ENGINE* engine) { in EngineFinish() 38 int EngineDestroy(ENGINE* engine) { in EngineDestroy() 49 int EngineLoadSSLClientCert(ENGINE* engine, in EngineLoadSSLClientCert() 90 int bind_fn(ENGINE* engine, const char* id) { in bind_fn()
|