Home
last modified time | relevance | path

Searched defs:conn (Results 1 – 25 of 32) sorted by relevance

12

/hostap-3.7.0/src/crypto/
Dtls_none.c37 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn) in tls_connection_deinit()
42 int tls_connection_established(void *tls_ctx, struct tls_connection *conn) in tls_connection_established()
49 struct tls_connection *conn) in tls_connection_peer_serial_num()
55 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn) in tls_connection_shutdown()
61 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_params()
81 int tls_connection_set_verify(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_verify()
89 int tls_connection_get_random(void *tls_ctx, struct tls_connection *conn, in tls_connection_get_random()
96 int tls_connection_export_key(void *tls_ctx, struct tls_connection *conn, in tls_connection_export_key()
104 int tls_connection_get_eap_fast_key(void *tls_ctx, struct tls_connection *conn, in tls_connection_get_eap_fast_key()
112 struct tls_connection *conn, in tls_connection_handshake()
[all …]
Dtls_internal.c95 struct tls_connection *conn; in tls_connection_init() local
130 void tls_connection_set_test_flags(struct tls_connection *conn, u32 flags) in tls_connection_set_test_flags()
139 void tls_connection_set_log_cb(struct tls_connection *conn, in tls_connection_set_log_cb()
150 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn) in tls_connection_deinit()
166 int tls_connection_established(void *tls_ctx, struct tls_connection *conn) in tls_connection_established()
181 struct tls_connection *conn) in tls_connection_peer_serial_num()
188 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn) in tls_connection_shutdown()
202 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_params()
373 int tls_connection_set_verify(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_verify()
385 int tls_connection_get_random(void *tls_ctx, struct tls_connection *conn, in tls_connection_get_random()
[all …]
Dtls_mbedtls.c105 struct tls_connection *conn = (struct tls_connection *)ctx; in tls_mbedtls_write() local
118 struct tls_connection *conn = (struct tls_connection *)ctx; in tls_mbedtls_read() local
684 struct tls_connection *conn = os_zalloc(sizeof(*conn)); in tls_connection_init() local
694 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn) in tls_connection_deinit()
710 int tls_connection_established(void *tls_ctx, struct tls_connection *conn) in tls_connection_established()
728 void *tls_ctx, struct tls_connection *conn, int verify_peer, in tls_connection_set_verify()
736 void *tls_ctx, struct tls_connection *conn, const struct wpabuf *in_data, in tls_connection_handshake()
773 void *tls_ctx, struct tls_connection *conn, const struct wpabuf *in_data, in tls_connection_server_handshake()
781 void *tls_ctx, struct tls_connection *conn, const struct wpabuf *in_data) in tls_connection_encrypt()
800 void *tls_ctx, struct tls_connection *conn, const struct wpabuf *in_data) in tls_connection_decrypt()
[all …]
Dtls_gnutls.c157 struct tls_connection *conn = (struct tls_connection *) ptr; in tls_pull_func() local
186 struct tls_connection *conn = (struct tls_connection *) ptr; in tls_push_func() local
199 struct tls_connection *conn) in tls_gnutls_init_session()
242 struct tls_connection *conn; in tls_connection_init() local
276 void tls_connection_deinit(void *ssl_ctx, struct tls_connection *conn) in tls_connection_deinit()
292 int tls_connection_established(void *ssl_ctx, struct tls_connection *conn) in tls_connection_established()
299 struct tls_connection *conn) in tls_connection_peer_serial_num()
306 int tls_connection_shutdown(void *ssl_ctx, struct tls_connection *conn) in tls_connection_shutdown()
353 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_params()
861 int tls_connection_set_verify(void *ssl_ctx, struct tls_connection *conn, in tls_connection_set_verify()
[all …]
Dtls_wolfssl.c298 struct tls_connection *conn; in tls_connection_init() local
326 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn) in tls_connection_deinit()
345 int tls_connection_established(void *tls_ctx, struct tls_connection *conn) in tls_connection_established()
352 struct tls_connection *conn) in tls_connection_peer_serial_num()
359 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn) in tls_connection_shutdown()
381 static int tls_connection_set_subject_match(struct tls_connection *conn, in tls_connection_set_subject_match()
423 static int tls_connection_dh(struct tls_connection *conn, const char *dh_file, in tls_connection_dh()
461 static int tls_connection_client_cert(struct tls_connection *conn, in tls_connection_client_cert()
512 struct tls_connection *conn, in tls_connection_private_key()
831 static void wolfssl_tls_fail_event(struct tls_connection *conn, in wolfssl_tls_fail_event()
[all …]
Dtls_mbedtls_alt.c440 static void tls_connection_deinit_expkey(struct tls_connection *conn) in tls_connection_deinit_expkey()
450 void tls_connection_deinit_clienthello_session_ticket(struct tls_connection *conn) in tls_connection_deinit_clienthello_session_ticket()
462 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn) in tls_connection_deinit()
489 struct tls_connection *conn = os_zalloc(sizeof(*conn)); in tls_connection_init() local
513 int tls_connection_established(void *tls_ctx, struct tls_connection *conn) in tls_connection_established()
544 char *tls_connection_peer_serial_num(void *tls_ctx, struct tls_connection *conn) in tls_connection_peer_serial_num()
558 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn) in tls_connection_shutdown()
587 static int tls_pull_buf_append(struct tls_connection *conn, const struct wpabuf *in_data) in tls_pull_buf_append()
593 static void tls_pull_buf_reset(struct tls_connection *conn) in tls_pull_buf_reset()
601 __attribute_cold__ static void tls_pull_buf_discard(struct tls_connection *conn, const char *func) in tls_pull_buf_discard()
[all …]
Dtls_openssl.c750 struct tls_connection *conn = SSL_get_app_data((SSL *) ssl); in ssl_info_cb() local
1181 static int tls_engine_init(struct tls_connection *conn, const char *engine_id, in tls_engine_init()
1297 static void tls_engine_deinit(struct tls_connection *conn) in tls_engine_deinit()
1409 static void check_server_hello(struct tls_connection *conn, in check_server_hello()
1450 static void check_server_key_exchange(SSL *ssl, struct tls_connection *conn, in check_server_key_exchange()
1499 struct tls_connection *conn = arg; in tls_msg_cb() local
1541 struct tls_connection *conn; in tls_connection_init() local
1619 void tls_connection_deinit(void *ssl_ctx, struct tls_connection *conn) in tls_connection_deinit()
1644 int tls_connection_established(void *ssl_ctx, struct tls_connection *conn) in tls_connection_established()
1651 struct tls_connection *conn) in tls_connection_peer_serial_num()
[all …]
/hostap-3.7.0/src/tls/
Dtlsv1_server.c24 void tlsv1_server_log(struct tlsv1_server *conn, const char *fmt, ...) in tlsv1_server_log()
49 void tlsv1_server_alert(struct tlsv1_server *conn, u8 level, u8 description) in tlsv1_server_alert()
56 int tlsv1_server_derive_keys(struct tlsv1_server *conn, in tlsv1_server_derive_keys()
132 u8 * tlsv1_server_handshake(struct tlsv1_server *conn, in tlsv1_server_handshake()
227 int tlsv1_server_encrypt(struct tlsv1_server *conn, in tlsv1_server_encrypt()
260 int tlsv1_server_decrypt(struct tlsv1_server *conn, in tlsv1_server_decrypt()
379 struct tlsv1_server *conn; in tlsv1_server_init() local
418 static void tlsv1_server_clear_data(struct tlsv1_server *conn) in tlsv1_server_clear_data()
443 void tlsv1_server_deinit(struct tlsv1_server *conn) in tlsv1_server_deinit()
455 int tlsv1_server_established(struct tlsv1_server *conn) in tlsv1_server_established()
[all …]
Dtlsv1_client.c25 void tls_alert(struct tlsv1_client *conn, u8 level, u8 description) in tls_alert()
32 void tlsv1_client_free_dh(struct tlsv1_client *conn) in tlsv1_client_free_dh()
41 u16 tls_client_highest_ver(struct tlsv1_client *conn) in tls_client_highest_ver()
64 int tls_derive_pre_master_secret(struct tlsv1_client *conn, in tls_derive_pre_master_secret()
75 int tls_derive_keys(struct tlsv1_client *conn, in tls_derive_keys()
163 u8 * tlsv1_client_handshake(struct tlsv1_client *conn, in tlsv1_client_handshake()
297 int tlsv1_client_encrypt(struct tlsv1_client *conn, in tlsv1_client_encrypt()
330 struct wpabuf * tlsv1_client_decrypt(struct tlsv1_client *conn, in tlsv1_client_decrypt()
467 struct tlsv1_client *conn; in tlsv1_client_init() local
510 void tlsv1_client_deinit(struct tlsv1_client *conn) in tlsv1_client_deinit()
[all …]
Dtlsv1_client_write.c24 static size_t tls_client_cert_chain_der_len(struct tlsv1_client *conn) in tls_client_cert_chain_der_len()
45 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len) in tls_send_client_hello()
252 static int tls_write_client_certificate(struct tlsv1_client *conn, in tls_write_client_certificate()
336 static int tlsv1_key_x_dh(struct tlsv1_client *conn, u8 **pos, u8 *end) in tlsv1_key_x_dh()
459 static int tlsv1_key_x_rsa(struct tlsv1_client *conn, u8 **pos, u8 *end) in tlsv1_key_x_rsa()
506 static int tls_write_client_key_exchange(struct tlsv1_client *conn, in tls_write_client_key_exchange()
564 static int tls_write_client_certificate_verify(struct tlsv1_client *conn, in tls_write_client_certificate_verify()
736 static int tls_write_client_change_cipher_spec(struct tlsv1_client *conn, in tls_write_client_change_cipher_spec()
769 static int tls_write_client_finished(struct tlsv1_client *conn, in tls_write_client_finished()
860 static u8 * tls_send_client_key_exchange(struct tlsv1_client *conn, in tls_send_client_key_exchange()
[all …]
Dtlsv1_server_write.c24 static size_t tls_server_cert_chain_der_len(struct tlsv1_server *conn) in tls_server_cert_chain_der_len()
42 static int tls_write_server_hello(struct tlsv1_server *conn, in tls_write_server_hello()
189 static int tls_write_server_certificate(struct tlsv1_server *conn, in tls_write_server_certificate()
281 static int tls_write_server_certificate_status(struct tlsv1_server *conn, in tls_write_server_certificate_status()
368 static int tls_write_server_key_exchange(struct tlsv1_server *conn, in tls_write_server_key_exchange()
695 static int tls_write_server_certificate_request(struct tlsv1_server *conn, in tls_write_server_certificate_request()
761 static int tls_write_server_hello_done(struct tlsv1_server *conn, in tls_write_server_hello_done()
798 static int tls_write_server_change_cipher_spec(struct tlsv1_server *conn, in tls_write_server_change_cipher_spec()
831 static int tls_write_server_finished(struct tlsv1_server *conn, in tls_write_server_finished()
930 static u8 * tls_send_server_hello(struct tlsv1_server *conn, size_t *out_len) in tls_send_server_hello()
[all …]
Dtlsv1_client_read.c30 static int tls_version_disabled(struct tlsv1_client *conn, u16 ver) in tls_version_disabled()
41 static int tls_process_server_hello_extensions(struct tlsv1_client *conn, in tls_process_server_hello_extensions()
78 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, in tls_process_server_hello()
279 static void tls_peer_cert_event(struct tlsv1_client *conn, int depth, in tls_peer_cert_event()
328 static void tls_cert_chain_failure_event(struct tlsv1_client *conn, int depth, in tls_cert_chain_failure_event()
354 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, in tls_process_certificate()
664 static int tlsv1_process_diffie_hellman(struct tlsv1_client *conn, in tlsv1_process_diffie_hellman()
799 tls_process_certificate_status_ocsp_response(struct tlsv1_client *conn, in tls_process_certificate_status_ocsp_response()
823 static int tls_process_certificate_status(struct tlsv1_client *conn, u8 ct, in tls_process_certificate_status()
1021 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, in tls_process_server_key_exchange()
[all …]
Dtlsv1_server_read.c30 static int testing_cipher_suite_filter(struct tlsv1_server *conn, u16 suite) in testing_cipher_suite_filter()
49 static void tls_process_status_request_item(struct tlsv1_server *conn, in tls_process_status_request_item()
90 static void tls_process_status_request_v2(struct tlsv1_server *conn, in tls_process_status_request_v2()
121 static int tls_process_client_hello(struct tlsv1_server *conn, u8 ct, in tls_process_client_hello()
396 static int tls_process_certificate(struct tlsv1_server *conn, u8 ct, in tls_process_certificate()
599 struct tlsv1_server *conn, const u8 *pos, const u8 *end) in tls_process_client_key_exchange_rsa()
702 struct tlsv1_server *conn, const u8 *pos, const u8 *end) in tls_process_client_key_exchange_dh()
807 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, in tls_process_client_key_exchange()
884 static int tls_process_certificate_verify(struct tlsv1_server *conn, u8 ct, in tls_process_certificate_verify()
1045 static int tls_process_change_cipher_spec(struct tlsv1_server *conn, in tls_process_change_cipher_spec()
[all …]
Dtlsv1_client_ocsp.c110 static int tls_process_ocsp_single_response(struct tlsv1_client *conn, in tls_process_ocsp_single_response()
311 tls_process_ocsp_responses(struct tlsv1_client *conn, in tls_process_ocsp_responses()
344 tls_process_basic_ocsp_response(struct tlsv1_client *conn, in tls_process_basic_ocsp_response()
648 enum tls_ocsp_result tls_process_ocsp_response(struct tlsv1_client *conn, in tls_process_ocsp_response()
/hostap-3.7.0/src/common/
Ddpp_tcp.c66 struct dl_list conn; /* struct dpp_connection */ member
75 struct dl_list conn; /* struct dpp_connection */ member
99 static void dpp_connection_free(struct dpp_connection *conn) in dpp_connection_free()
125 static void dpp_connection_remove(struct dpp_connection *conn) in dpp_connection_remove()
192 static void dpp_controller_gas_done(struct dpp_connection *conn) in dpp_controller_gas_done()
222 static int dpp_tcp_send(struct dpp_connection *conn) in dpp_tcp_send()
282 static int dpp_tcp_send_msg(struct dpp_connection *conn, in dpp_tcp_send_msg()
308 static void dpp_controller_start_gas_client(struct dpp_connection *conn) in dpp_controller_start_gas_client()
328 static void dpp_controller_auth_success(struct dpp_connection *conn, in dpp_controller_auth_success()
358 struct dpp_connection *conn = eloop_ctx; in dpp_conn_tx_ready() local
[all …]
/hostap-3.7.0/tests/
Dtest-https_server.c81 struct tls_connection *conn; in https_server() local
212 int port, s, conn; in main() local
Dtest-https.c75 struct tls_connection *conn; in https_client() local
/hostap-3.7.0/tests/hwsim/
Drun-tests.py85 def add_log_file(conn, test, run, type, path): argument
102 def report(conn, prefill, build, commit, run, test, result, duration, logdir, argument
Dnetlink.py122 def send(self, conn): argument
142 def send_and_recv(self, conn): argument
226 def __init__(self, conn): argument
/hostap-3.7.0/src/eap_server/
Deap_tls_common.h19 struct tls_connection *conn; member
Dtncs.c420 TNC_ConnectionID conn, in tncs_imv_notify_connection_change()
1084 struct tncs_data *prev, *conn; in tncs_deinit() local
/hostap-3.7.0/src/eap_peer/
Deap_tls_common.h19 struct tls_connection *conn; member
/hostap-3.7.0/src/eap_common/
Deap_fast_common.c96 u8 * eap_fast_derive_key(void *ssl_ctx, struct tls_connection *conn, size_t len) in eap_fast_derive_key()
/hostap-3.7.0/wpa_supplicant/dbus/
Ddbus_common.c262 static DBusHandlerResult disconnect_filter(DBusConnection *conn, in disconnect_filter()
/hostap-3.7.0/src/wps/
Dhttp_server.c204 int conn; in http_server_cb() local

12