/openssl/crypto/engine/ |
H A D | eng_lib.c | 58 e->id = NULL; in engine_set_all_null() 59 e->name = NULL; in engine_set_all_null() 67 e->init = NULL; in engine_set_all_null() 69 e->ctrl = NULL; in engine_set_all_null() 73 e->flags = 0; in engine_set_all_null() 81 if (e == NULL) in engine_free_util() 95 if (e->destroy) in engine_free_util() 96 e->destroy(e); in engine_free_util() 98 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_ENGINE, e, &e->ex_data); in engine_free_util() 209 e->id = id; in ENGINE_set_id() [all …]
|
H A D | tb_asnmth.c | 42 int num_nids = e->pkey_asn1_meths(e, NULL, &nids, 0); in ENGINE_register_pkey_asn1_meths() 53 ENGINE *e; in ENGINE_register_all_pkey_asn1_meths() local 55 for (e = ENGINE_get_first(); e; e = ENGINE_get_next(e)) in ENGINE_register_all_pkey_asn1_meths() 63 int num_nids = e->pkey_asn1_meths(e, NULL, &nids, 0); in ENGINE_set_default_pkey_asn1_meths() 123 npknids = e->pkey_asn1_meths(e, NULL, &pknids, 0); in engine_pkey_asn1_meths_free() 125 if (e->pkey_asn1_meths(e, &pkm, NULL, pknids[i])) { in engine_pkey_asn1_meths_free() 150 nidcount = e->pkey_asn1_meths(e, NULL, &nids, 0); in ENGINE_get_pkey_asn1_meth_str() 152 e->pkey_asn1_meths(e, &ameth, NULL, nids[i]); in ENGINE_get_pkey_asn1_meth_str() 162 ENGINE *e; member 177 e->pkey_asn1_meths(e, &ameth, NULL, nid); in look_str_cb() [all …]
|
H A D | tb_pkmeth.c | 30 if (e->pkey_meths) { in ENGINE_register_pkey_meths() 32 int num_nids = e->pkey_meths(e, NULL, &nids, 0); in ENGINE_register_pkey_meths() 43 ENGINE *e; in ENGINE_register_all_pkey_meths() local 45 for (e = ENGINE_get_first(); e; e = ENGINE_get_next(e)) in ENGINE_register_all_pkey_meths() 51 if (e->pkey_meths) { in ENGINE_set_default_pkey_meths() 53 int num_nids = e->pkey_meths(e, NULL, &nids, 0); in ENGINE_set_default_pkey_meths() 88 return e->pkey_meths; in ENGINE_get_pkey_meths() 94 e->pkey_meths = f; in ENGINE_set_pkey_meths() 107 if (e->pkey_meths) { in engine_pkey_meths_free() 110 npknids = e->pkey_meths(e, NULL, &pknids, 0); in engine_pkey_meths_free() [all …]
|
H A D | eng_init.c | 24 if ((e->funct_ref == 0) && e->init) in engine_unlocked_init() 29 to_return = e->init(e); in engine_unlocked_init() 38 e->finish(e); in engine_unlocked_init() 41 e->funct_ref++; in engine_unlocked_init() 64 e->funct_ref--; in engine_unlocked_finish() 66 if ((e->funct_ref == 0) && e->finish) { in engine_unlocked_finish() 69 to_return = e->finish(e); in engine_unlocked_finish() 86 int ENGINE_init(ENGINE *e) in ENGINE_init() argument 89 if (e == NULL) { in ENGINE_init() 106 int ENGINE_finish(ENGINE *e) in ENGINE_finish() argument [all …]
|
H A D | eng_list.c | 63 if (e == NULL) { in engine_list_add() 115 e->next = NULL; in engine_list_add() 136 if (e->next) in engine_list_remove() 137 e->next->prev = e->prev; in engine_list_remove() 138 if (e->prev) in engine_list_remove() 139 e->prev->next = e->next; in engine_list_remove() 156 if (e == NULL) in engine_add_dynamic_id() 205 if (e == NULL || e->dynamic_id == NULL) in engine_remove_dynamic_id() 215 e->next_dyn->prev_dyn = e->prev_dyn; in engine_remove_dynamic_id() 217 e->prev_dyn->next_dyn = e->next_dyn; in engine_remove_dynamic_id() [all …]
|
H A D | eng_fat.c | 93 int ENGINE_register_complete(ENGINE *e) in ENGINE_register_complete() argument 95 ENGINE_register_ciphers(e); in ENGINE_register_complete() 96 ENGINE_register_digests(e); in ENGINE_register_complete() 97 ENGINE_register_RSA(e); in ENGINE_register_complete() 99 ENGINE_register_DSA(e); in ENGINE_register_complete() 102 ENGINE_register_DH(e); in ENGINE_register_complete() 105 ENGINE_register_EC(e); in ENGINE_register_complete() 107 ENGINE_register_RAND(e); in ENGINE_register_complete() 108 ENGINE_register_pkey_meths(e); in ENGINE_register_complete() 115 ENGINE *e; in ENGINE_register_all_complete() local [all …]
|
H A D | tb_digest.c | 17 void ENGINE_unregister_digests(ENGINE *e) in ENGINE_unregister_digests() argument 27 int ENGINE_register_digests(ENGINE *e) in ENGINE_register_digests() argument 29 if (e->digests) { in ENGINE_register_digests() 31 int num_nids = e->digests(e, NULL, &nids, 0); in ENGINE_register_digests() 42 ENGINE *e; in ENGINE_register_all_digests() local 44 for (e = ENGINE_get_first(); e; e = ENGINE_get_next(e)) in ENGINE_register_all_digests() 45 ENGINE_register_digests(e); in ENGINE_register_all_digests() 50 if (e->digests) { in ENGINE_set_default_digests() 52 int num_nids = e->digests(e, NULL, &nids, 0); in ENGINE_set_default_digests() 87 return e->digests; in ENGINE_get_digests() [all …]
|
H A D | tb_cipher.c | 17 void ENGINE_unregister_ciphers(ENGINE *e) in ENGINE_unregister_ciphers() argument 27 int ENGINE_register_ciphers(ENGINE *e) in ENGINE_register_ciphers() argument 29 if (e->ciphers) { in ENGINE_register_ciphers() 31 int num_nids = e->ciphers(e, NULL, &nids, 0); in ENGINE_register_ciphers() 42 ENGINE *e; in ENGINE_register_all_ciphers() local 44 for (e = ENGINE_get_first(); e; e = ENGINE_get_next(e)) in ENGINE_register_all_ciphers() 45 ENGINE_register_ciphers(e); in ENGINE_register_all_ciphers() 50 if (e->ciphers) { in ENGINE_set_default_ciphers() 52 int num_nids = e->ciphers(e, NULL, &nids, 0); in ENGINE_set_default_ciphers() 87 return e->ciphers; in ENGINE_get_ciphers() [all …]
|
H A D | eng_pkey.c | 40 return e->load_privkey; in ENGINE_get_load_privkey_function() 45 return e->load_pubkey; in ENGINE_get_load_pubkey_function() 61 if (e == NULL) { in ENGINE_load_private_key() 67 if (e->funct_ref == 0) { in ENGINE_load_private_key() 73 if (!e->load_privkey) { in ENGINE_load_private_key() 77 pkey = e->load_privkey(e, key_id, ui_method, callback_data); in ENGINE_load_private_key() 90 if (e == NULL) { in ENGINE_load_public_key() 102 if (!e->load_pubkey) { in ENGINE_load_public_key() 106 pkey = e->load_pubkey(e, key_id, ui_method, callback_data); in ENGINE_load_public_key() 120 if (e == NULL) { in ENGINE_load_ssl_client_cert() [all …]
|
H A D | tb_dh.c | 18 void ENGINE_unregister_DH(ENGINE *e) in ENGINE_unregister_DH() argument 20 engine_table_unregister(&dh_table, e); in ENGINE_unregister_DH() 28 int ENGINE_register_DH(ENGINE *e) in ENGINE_register_DH() argument 30 if (e->dh_meth) in ENGINE_register_DH() 39 ENGINE *e; in ENGINE_register_all_DH() local 41 for (e = ENGINE_get_first(); e; e = ENGINE_get_next(e)) in ENGINE_register_all_DH() 42 ENGINE_register_DH(e); in ENGINE_register_all_DH() 45 int ENGINE_set_default_DH(ENGINE *e) in ENGINE_set_default_DH() argument 47 if (e->dh_meth) in ENGINE_set_default_DH() 68 return e->dh_meth; in ENGINE_get_DH() [all …]
|
H A D | tb_rsa.c | 18 void ENGINE_unregister_RSA(ENGINE *e) in ENGINE_unregister_RSA() argument 20 engine_table_unregister(&rsa_table, e); in ENGINE_unregister_RSA() 28 int ENGINE_register_RSA(ENGINE *e) in ENGINE_register_RSA() argument 30 if (e->rsa_meth) in ENGINE_register_RSA() 39 ENGINE *e; in ENGINE_register_all_RSA() local 41 for (e = ENGINE_get_first(); e; e = ENGINE_get_next(e)) in ENGINE_register_all_RSA() 42 ENGINE_register_RSA(e); in ENGINE_register_all_RSA() 45 int ENGINE_set_default_RSA(ENGINE *e) in ENGINE_set_default_RSA() argument 47 if (e->rsa_meth) in ENGINE_set_default_RSA() 68 return e->rsa_meth; in ENGINE_get_RSA() [all …]
|
H A D | tb_dsa.c | 18 void ENGINE_unregister_DSA(ENGINE *e) in ENGINE_unregister_DSA() argument 20 engine_table_unregister(&dsa_table, e); in ENGINE_unregister_DSA() 28 int ENGINE_register_DSA(ENGINE *e) in ENGINE_register_DSA() argument 30 if (e->dsa_meth) in ENGINE_register_DSA() 39 ENGINE *e; in ENGINE_register_all_DSA() local 41 for (e = ENGINE_get_first(); e; e = ENGINE_get_next(e)) in ENGINE_register_all_DSA() 42 ENGINE_register_DSA(e); in ENGINE_register_all_DSA() 45 int ENGINE_set_default_DSA(ENGINE *e) in ENGINE_set_default_DSA() argument 47 if (e->dsa_meth) in ENGINE_set_default_DSA() 68 return e->dsa_meth; in ENGINE_get_DSA() [all …]
|
H A D | tb_rand.c | 18 void ENGINE_unregister_RAND(ENGINE *e) in ENGINE_unregister_RAND() argument 20 engine_table_unregister(&rand_table, e); in ENGINE_unregister_RAND() 28 int ENGINE_register_RAND(ENGINE *e) in ENGINE_register_RAND() argument 30 if (e->rand_meth) in ENGINE_register_RAND() 39 ENGINE *e; in ENGINE_register_all_RAND() local 41 for (e = ENGINE_get_first(); e; e = ENGINE_get_next(e)) in ENGINE_register_all_RAND() 42 ENGINE_register_RAND(e); in ENGINE_register_all_RAND() 45 int ENGINE_set_default_RAND(ENGINE *e) in ENGINE_set_default_RAND() argument 47 if (e->rand_meth) in ENGINE_set_default_RAND() 68 return e->rand_meth; in ENGINE_get_RAND() [all …]
|
H A D | tb_eckey.c | 18 void ENGINE_unregister_EC(ENGINE *e) in ENGINE_unregister_EC() argument 20 engine_table_unregister(&dh_table, e); in ENGINE_unregister_EC() 28 int ENGINE_register_EC(ENGINE *e) in ENGINE_register_EC() argument 30 if (e->ec_meth != NULL) in ENGINE_register_EC() 39 ENGINE *e; in ENGINE_register_all_EC() local 41 for (e = ENGINE_get_first(); e; e = ENGINE_get_next(e)) in ENGINE_register_all_EC() 42 ENGINE_register_EC(e); in ENGINE_register_all_EC() 45 int ENGINE_set_default_EC(ENGINE *e) in ENGINE_set_default_EC() argument 47 if (e->ec_meth != NULL) in ENGINE_set_default_EC() 68 return e->ec_meth; in ENGINE_get_EC() [all …]
|
H A D | eng_ctrl.c | 73 if ((e->cmd_defns == NULL) || int_ctrl_cmd_is_null(e->cmd_defns)) in int_ctrl_helper() 75 return e->cmd_defns->cmd_num; in int_ctrl_helper() 88 if ((e->cmd_defns == NULL) in int_ctrl_helper() 93 return e->cmd_defns[idx].cmd_num; in int_ctrl_helper() 99 if ((e->cmd_defns == NULL) in int_ctrl_helper() 105 cdp = &e->cmd_defns[idx]; in int_ctrl_helper() 132 if (e == NULL) { in ENGINE_ctrl() 173 return e->ctrl(e, cmd, i, p, f); in ENGINE_ctrl() 196 if (e == NULL || cmd_name == NULL) { in ENGINE_ctrl_cmd() 200 if (e->ctrl == NULL in ENGINE_ctrl_cmd() [all …]
|
H A D | eng_cnf.c | 32 if (!ENGINE_init(e)) in int_engine_init() 37 ENGINE_finish(e); in int_engine_init() 51 ENGINE *e = NULL; in int_engine_configure() local 81 if (!e) in int_engine_configure() 96 if (!e) { in int_engine_configure() 98 if (!e && soft) { in int_engine_configure() 102 if (!e) in int_engine_configure() 129 if (e && (do_init == -1) && !int_engine_init(e)) { in int_engine_configure() 143 ENGINE_free(e); in int_engine_configure() 173 ENGINE *e; in int_engine_module_finish() local [all …]
|
/openssl/include/openssl/ |
H A D | engine.h | 328 OSSL_DEPRECATEDIN_3_0 int ENGINE_add(ENGINE *e); 332 OSSL_DEPRECATEDIN_3_0 int ENGINE_remove(ENGINE *e); 493 OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); 494 OSSL_DEPRECATEDIN_3_0 int ENGINE_up_ref(ENGINE *e); 515 int ENGINE_set_load_ssl_client_cert_function(ENGINE *e, 574 ENGINE_CIPHERS_PTR ENGINE_get_ciphers(const ENGINE *e); 576 ENGINE_DIGESTS_PTR ENGINE_get_digests(const ENGINE *e); 584 const EVP_MD *ENGINE_get_digest(ENGINE *e, int nid); 620 OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); 628 OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); [all …]
|
/openssl/crypto/sha/asm/ |
H A D | sha1-alpha.pl | 71 addl $K,$e,$e 84 addl $t1,$e,$e 88 addl $t0,$e,$e 89 addl $t2,$e,$e 94 addl $K,$e,$e 104 addl $t1,$e,$e 108 addl $t0,$e,$e 109 addl $t2,$e,$e 114 addl $K,$e,$e 147 addl $K,$e,$e [all …]
|
H A D | sha1-ia64.pl | 79 { .mmi; add $e=$e,$K_00_19 // e+=K_00_19 82 { .mmi; add $e=$e,$X[$i] // e+=Xload 86 add $e=$e,tmp4 // e+=F_00_19(b,c,d) 91 { .mii; add $e=$e,tmp5 // e+=ROTATE(a,5) 102 { .mmi; add $e=$e,$K_00_19 // e+=K_00_19 105 { .mmi; add $e=$e,$X[$i] // e+=Xupdate 116 { .mii; add $e=$e,tmp1 // e+=ROTATE(a,5) 131 { .mib; add $e=$e,$K_00_19 // e+=K_00_19 162 { .mib; add $e=$e,$Konst // e+=K_XX_XX 183 { .mib; add $e=$e,$Konst // e+=K_60_79 [all …]
|
H A D | sha1-sparcv9a.pl | 166 add $Xi,$e,$e 186 add $Xi,$e,$e 223 add $Xi,$e,$e 243 add $Xi,$e,$e 260 add $Xi,$e,$e 274 add $Xi,$e,$e 301 add $Xi,$e,$e 323 add $Xi,$e,$e 353 add $Xi,$e,$e 373 add $Xi,$e,$e [all …]
|
H A D | sha1-parisc.pl | 79 addl $t1,$e,$e 83 addl $t0,$e,$e 92 addl $t1,$e,$e 97 add $t0,$e,$e 107 addl $K,$e,$e 113 addl $t1,$e,$e 117 addl $t0,$e,$e 121 addl $K,$e,$e 127 addl $t1,$e,$e 131 addl $t0,$e,$e [all …]
|
H A D | sha1-sparcv9.pl | 68 add $tmp0,$e,$e 70 add $tmp1,$e,$e 76 add $xi,$e,$e 83 add $tmp1,$e,$e 130 add $tmp1,$e,$e 132 add $xi,$e,$e 137 add $tmp1,$e,$e 154 add $tmp1,$e,$e 158 add $tmp1,$e,$e 160 add $xi,$e,$e [all …]
|
/openssl/ssl/quic/ |
H A D | quic_demux.c | 99 QUIC_URXE *e, *enext; in demux_free_urxl() local 101 for (e = ossl_list_urxe_head(l); e != NULL; e = enext) { in demux_free_urxl() 104 OPENSSL_free(e); in demux_free_urxl() 157 QUIC_URXE *e; in demux_alloc_urxe() local 163 if (e == NULL) in demux_alloc_urxe() 168 e->data_len = 0; in demux_alloc_urxe() 169 return e; in demux_alloc_urxe() 207 return e->alloc_len < alloc_len ? demux_resize_urxe(demux, e, alloc_len) : e; in demux_reserve_urxe() 212 QUIC_URXE *e; in demux_ensure_free_urxe() local 216 if (e == NULL) in demux_ensure_free_urxe() [all …]
|
/openssl/apps/lib/ |
H A D | engine.c | 30 ENGINE *e = NULL; in try_load_engine() local 35 ENGINE_free(e); in try_load_engine() 36 e = NULL; in try_load_engine() 39 return e; in try_load_engine() 45 ENGINE *e = NULL; in setup_engine_methods() local 74 return e; in setup_engine_methods() 81 ENGINE_free(e); in release_engine() 85 int init_engine(ENGINE *e) in init_engine() argument 90 rv = ENGINE_init(e); in init_engine() 100 rv = ENGINE_finish(e); in finish_engine() [all …]
|
/openssl/test/ |
H A D | rsa_sp800_56b_test.c | 111 BIGNUM *e = NULL; in test_check_public_exponent() local 129 && TEST_true(BN_add(e, e, BN_value_one())) in test_check_public_exponent() 131 BN_free(e); in test_check_public_exponent() 214 BN_free(e); in test_check_prime_factor() 250 BN_free(e); in test_check_private_exponent() 343 BN_free(e); in test_check_crt_components() 350 int p, q, e; member 370 && TEST_true(BN_set_word(e, derive_from_pq_tests[tst].e)) in test_derive_params_from_pq_fail() 380 BN_free(e); in test_derive_params_from_pq_fail() 436 BN_free(e); in test_invalid_keypair() [all …]
|