Home
last modified time | relevance | path

Searched refs:tls_out (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls_common.c104 wpabuf_free(data->tls_out); in eap_server_tls_ssl_deinit()
105 data->tls_out = NULL; in eap_server_tls_ssl_deinit()
177 if (data->tls_out == NULL) { in eap_server_tls_build_msg()
183 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_server_tls_build_msg()
203 wpabuf_put_be32(req, wpabuf_len(data->tls_out)); in eap_server_tls_build_msg()
205 wpabuf_put_data(req, wpabuf_head_u8(data->tls_out) + data->tls_out_pos, in eap_server_tls_build_msg()
209 if (data->tls_out_pos == wpabuf_len(data->tls_out)) { in eap_server_tls_build_msg()
213 wpabuf_free(data->tls_out); in eap_server_tls_build_msg()
214 data->tls_out = NULL; in eap_server_tls_build_msg()
220 (unsigned long) wpabuf_len(data->tls_out) - in eap_server_tls_build_msg()
[all …]
Deap_server_peap.c528 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
530 data->ssl.tls_out = eap_peap_build_phase2_req(sm, data, id); in eap_peap_buildReq()
534 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
536 data->ssl.tls_out = eap_peap_build_phase2_soh(sm, data, id); in eap_peap_buildReq()
540 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
542 data->ssl.tls_out = eap_peap_build_phase2_tlv(sm, data, id); in eap_peap_buildReq()
545 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
547 data->ssl.tls_out = eap_peap_build_phase2_term(sm, data, id, in eap_peap_buildReq()
551 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
553 data->ssl.tls_out = eap_peap_build_phase2_term(sm, data, id, in eap_peap_buildReq()
Deap_tls_common.h24 struct wpabuf *tls_out; member
Deap_server_fast.c831 if (data->ssl.tls_out && piggyback) { in eap_fast_encrypt_phase2()
836 (int) wpabuf_len(data->ssl.tls_out), in eap_fast_encrypt_phase2()
838 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_fast_encrypt_phase2()
844 wpabuf_put_buf(data->ssl.tls_out, encr); in eap_fast_encrypt_phase2()
847 wpabuf_free(data->ssl.tls_out); in eap_fast_encrypt_phase2()
849 data->ssl.tls_out = encr; in eap_fast_encrypt_phase2()
1462 wpabuf_len(data->ssl.tls_out) > 0) in eap_fast_process_phase1()
Deap_server_ttls.c491 wpabuf_free(data->ssl.tls_out); in eap_ttls_buildReq()
493 data->ssl.tls_out = eap_ttls_build_phase2_eap_req(sm, data, in eap_ttls_buildReq()
497 wpabuf_free(data->ssl.tls_out); in eap_ttls_buildReq()
499 data->ssl.tls_out = eap_ttls_build_phase2_mschapv2(sm, data); in eap_ttls_buildReq()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls_common.c507 if (data->tls_out) { in eap_tls_process_input()
511 wpabuf_free(data->tls_out); in eap_tls_process_input()
512 WPA_ASSERT(data->tls_out == NULL); in eap_tls_process_input()
515 data->tls_out = tls_connection_handshake(data->ssl_ctx, data->conn, in eap_tls_process_input()
553 if (data->tls_out == NULL) in eap_tls_process_output()
555 len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_tls_process_output()
559 (unsigned long) wpabuf_len(data->tls_out)); in eap_tls_process_output()
574 (wpabuf_len(data->tls_out) > data->tls_out_limit || in eap_tls_process_output()
599 wpabuf_put_be32(*out_data, wpabuf_len(data->tls_out)); in eap_tls_process_output()
603 wpabuf_head_u8(data->tls_out) + data->tls_out_pos, in eap_tls_process_output()
[all …]
Deap_tls_common.h24 struct wpabuf *tls_out; member
Deap_ttls.c1574 !data->ssl.tls_out) { in eap_ttls_check_auth_status()