| /netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/ |
| H A 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 …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/ |
| H A D | engine.h | 267 typedef int (*ENGINE_GEN_INT_FUNC_PTR) (ENGINE *); 269 typedef int (*ENGINE_CTRL_FUNC_PTR) (ENGINE *, int, long, void *, 272 typedef EVP_PKEY *(*ENGINE_LOAD_KEY_PTR)(ENGINE *, const char *, 275 typedef int (*ENGINE_SSL_CLIENT_CERT_PTR) (ENGINE *, SSL *ssl, 296 typedef int (*ENGINE_CIPHERS_PTR) (ENGINE *, const EVP_CIPHER **, 298 typedef int (*ENGINE_DIGESTS_PTR) (ENGINE *, const EVP_MD **, const int **, 300 typedef int (*ENGINE_PKEY_METHS_PTR) (ENGINE *, EVP_PKEY_METHOD **, 302 typedef int (*ENGINE_PKEY_ASN1_METHS_PTR) (ENGINE *, EVP_PKEY_ASN1_METHOD **, 318 OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_first(void); 319 OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_last(void); [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
| H A D | engine.h | 67 #define ENGINE hc_ENGINE macro 73 typedef struct hc_engine ENGINE; typedef 92 typedef int (*openssl_bind_engine)(ENGINE *, const char *, const void *); 95 ENGINE * 97 int ENGINE_free(ENGINE *); 100 ENGINE *ENGINE_by_id(const char *); 101 ENGINE *ENGINE_by_dso(const char *, const char *); 102 int ENGINE_finish(ENGINE *); 103 int ENGINE_up_ref(ENGINE *); 104 int ENGINE_set_id(ENGINE *, const char *); [all …]
|
| H A D | engine.c | 52 void (*destroy)(ENGINE *); 58 ENGINE * 61 ENGINE *engine; in ENGINE_new() 70 ENGINE_free(ENGINE *engine) in ENGINE_free() 76 ENGINE_finish(ENGINE *engine) in ENGINE_finish() 99 ENGINE_up_ref(ENGINE *engine) in ENGINE_up_ref() 108 ENGINE_set_id(ENGINE *engine, const char *id) in ENGINE_set_id() 115 ENGINE_set_name(ENGINE *engine, const char *name) in ENGINE_set_name() 122 ENGINE_set_RSA(ENGINE *engine, const RSA_METHOD *method) in ENGINE_set_RSA() 129 ENGINE_set_DH(ENGINE *engine, const DH_METHOD *method) in ENGINE_set_DH() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/ |
| H A 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 …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/engine/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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 …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/engine/ |
| H A D | eng_lib.c | 27 ENGINE *ENGINE_new(void) in ENGINE_new() 29 ENGINE *ret; in ENGINE_new() 50 void engine_set_all_null(ENGINE *e) in engine_set_all_null() 71 int engine_free_util(ENGINE *e, int not_locked) in engine_free_util() 100 int ENGINE_free(ENGINE *e) in ENGINE_free() 186 int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg) in ENGINE_set_ex_data() 191 void *ENGINE_get_ex_data(const ENGINE *e, int idx) in ENGINE_get_ex_data() 201 int ENGINE_set_id(ENGINE *e, const char *id) in ENGINE_set_id() 211 int ENGINE_set_name(ENGINE *e, const char *name) in ENGINE_set_name() 221 int ENGINE_set_destroy_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR destroy_f) in ENGINE_set_destroy_function() [all …]
|
| H A D | eng_list.c | 27 static ENGINE *engine_list_head = NULL; 28 static ENGINE *engine_list_tail = NULL; 33 static ENGINE *engine_dyn_list_head = NULL; 34 static ENGINE *engine_dyn_list_tail = NULL; 44 ENGINE *iterator = engine_list_head; in engine_list_cleanup() 57 static int engine_list_add(ENGINE *e) in engine_list_add() 60 ENGINE *iterator = NULL; in engine_list_add() 110 static int engine_list_remove(ENGINE *e) in engine_list_remove() 112 ENGINE *iterator; in engine_list_remove() 141 int engine_add_dynamic_id(ENGINE *e, ENGINE_DYNAMIC_ID dynamic_id, in engine_add_dynamic_id() [all …]
|
| H A D | eng_local.h | 53 DEFINE_STACK_OF(ENGINE) 61 ENGINE *e, const int *nids, int num_nids, 63 void engine_table_unregister(ENGINE_TABLE **table, ENGINE *e); 65 ENGINE *ossl_engine_table_select(ENGINE_TABLE **table, int nid, 67 typedef void (engine_table_doall_cb) (int nid, STACK_OF(ENGINE) *sk, 68 ENGINE *def, void *arg); 77 int engine_unlocked_init(ENGINE *e); 78 int engine_unlocked_finish(ENGINE *e, int unlock_for_handlers); 79 int engine_free_util(ENGINE *e, int not_locked); 86 void engine_set_all_null(ENGINE *e); [all …]
|
| H A D | tb_asnmth.c | 28 void ENGINE_unregister_pkey_asn1_meths(ENGINE *e) in ENGINE_unregister_pkey_asn1_meths() 38 int ENGINE_register_pkey_asn1_meths(ENGINE *e) in ENGINE_register_pkey_asn1_meths() 53 ENGINE *e; in ENGINE_register_all_pkey_asn1_meths() 59 int ENGINE_set_default_pkey_asn1_meths(ENGINE *e) in ENGINE_set_default_pkey_asn1_meths() 77 ENGINE *ENGINE_get_pkey_asn1_meth_engine(int nid) in ENGINE_get_pkey_asn1_meth_engine() 87 const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth(ENGINE *e, int nid) in ENGINE_get_pkey_asn1_meth() 99 ENGINE_PKEY_ASN1_METHS_PTR ENGINE_get_pkey_asn1_meths(const ENGINE *e) in ENGINE_get_pkey_asn1_meths() 105 int ENGINE_set_pkey_asn1_meths(ENGINE *e, ENGINE_PKEY_ASN1_METHS_PTR f) in ENGINE_set_pkey_asn1_meths() 116 void engine_pkey_asn1_meths_free(ENGINE *e) in engine_pkey_asn1_meths_free() 139 const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth_str(ENGINE *e, in ENGINE_get_pkey_asn1_meth_str() [all …]
|
| H A D | README.md | 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 …]
|
| H A D | tb_pkmeth.c | 18 void ENGINE_unregister_pkey_meths(ENGINE *e) in ENGINE_unregister_pkey_meths() 28 int ENGINE_register_pkey_meths(ENGINE *e) in ENGINE_register_pkey_meths() 43 ENGINE *e; in ENGINE_register_all_pkey_meths() 49 int ENGINE_set_default_pkey_meths(ENGINE *e) in ENGINE_set_default_pkey_meths() 67 ENGINE *ENGINE_get_pkey_meth_engine(int nid) in ENGINE_get_pkey_meth_engine() 74 const EVP_PKEY_METHOD *ENGINE_get_pkey_meth(ENGINE *e, int nid) in ENGINE_get_pkey_meth() 86 ENGINE_PKEY_METHS_PTR ENGINE_get_pkey_meths(const ENGINE *e) in ENGINE_get_pkey_meths() 92 int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f) in ENGINE_set_pkey_meths() 103 void engine_pkey_meths_free(ENGINE *e) in engine_pkey_meths_free()
|
| H A D | tb_cipher.c | 17 void ENGINE_unregister_ciphers(ENGINE *e) in ENGINE_unregister_ciphers() 27 int ENGINE_register_ciphers(ENGINE *e) in ENGINE_register_ciphers() 42 ENGINE *e; in ENGINE_register_all_ciphers() 48 int ENGINE_set_default_ciphers(ENGINE *e) in ENGINE_set_default_ciphers() 66 ENGINE *ENGINE_get_cipher_engine(int nid) in ENGINE_get_cipher_engine() 73 const EVP_CIPHER *ENGINE_get_cipher(ENGINE *e, int nid) in ENGINE_get_cipher() 85 ENGINE_CIPHERS_PTR ENGINE_get_ciphers(const ENGINE *e) in ENGINE_get_ciphers() 91 int ENGINE_set_ciphers(ENGINE *e, ENGINE_CIPHERS_PTR f) in ENGINE_set_ciphers()
|
| H A D | tb_digest.c | 17 void ENGINE_unregister_digests(ENGINE *e) in ENGINE_unregister_digests() 27 int ENGINE_register_digests(ENGINE *e) in ENGINE_register_digests() 42 ENGINE *e; in ENGINE_register_all_digests() 48 int ENGINE_set_default_digests(ENGINE *e) in ENGINE_set_default_digests() 66 ENGINE *ENGINE_get_digest_engine(int nid) in ENGINE_get_digest_engine() 73 const EVP_MD *ENGINE_get_digest(ENGINE *e, int nid) in ENGINE_get_digest() 85 ENGINE_DIGESTS_PTR ENGINE_get_digests(const ENGINE *e) in ENGINE_get_digests() 91 int ENGINE_set_digests(ENGINE *e, ENGINE_DIGESTS_PTR f) in ENGINE_set_digests()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/ |
| H A D | README-ENGINES.md | 7 The ENGINE API was introduced in OpenSSL version 0.9.6 as a low level 11 The ENGINE interface has its limitations and it has been superseeded 14 users who need to maintain or support existing ENGINE implementations. 19 Built-in ENGINE implementations 22 There are currently built-in ENGINE implementations for the following 29 In addition, dynamic binding to external ENGINE implementations is now 30 provided by a special ENGINE called "dynamic". See the "DYNAMIC ENGINE" 43 the ENGINE model so that alternative implementations of existing 45 ENGINE implementations. 50 Configuration support currently exists in the ENGINE API itself, in the [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/ |
| H A 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 …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/apps/lib/ |
| H A D | engine.c | 28 static ENGINE *try_load_engine(const char *engine) in try_load_engine() 30 ENGINE *e = NULL; in try_load_engine() 43 ENGINE *setup_engine_methods(const char *id, unsigned int methods, int debug) in setup_engine_methods() 45 ENGINE *e = NULL; in setup_engine_methods() 77 void release_engine(ENGINE *e) in release_engine() 85 int init_engine(ENGINE *e) in init_engine() 95 int finish_engine(ENGINE *e) in finish_engine() 105 char *make_engine_uri(ENGINE *e, const char *key_id, const char *desc) in make_engine_uri() 138 int get_legacy_pkey_id(OSSL_LIB_CTX *libctx, const char *algname, ENGINE *e) in get_legacy_pkey_id() 141 ENGINE *tmpeng = NULL; in get_legacy_pkey_id() [all …]
|