Home
last modified time | relevance | path

Searched refs:tls_out (Results 1 – 9 of 9) 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()
201 if (data->tls_out == NULL) { in eap_server_tls_build_msg()
207 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_server_tls_build_msg()
227 wpabuf_put_be32(req, wpabuf_len(data->tls_out)); in eap_server_tls_build_msg()
229 wpabuf_put_data(req, wpabuf_head_u8(data->tls_out) + data->tls_out_pos, in eap_server_tls_build_msg()
233 if (data->tls_out_pos == wpabuf_len(data->tls_out)) { in eap_server_tls_build_msg()
237 wpabuf_free(data->tls_out); in eap_server_tls_build_msg()
238 data->tls_out = NULL; in eap_server_tls_build_msg()
244 (unsigned long) wpabuf_len(data->tls_out) - in eap_server_tls_build_msg()
[all …]
Deap_server_peap.c532 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
534 data->ssl.tls_out = eap_peap_build_phase2_req(sm, data, id); in eap_peap_buildReq()
538 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
540 data->ssl.tls_out = eap_peap_build_phase2_soh(sm, data, id); in eap_peap_buildReq()
544 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
546 data->ssl.tls_out = eap_peap_build_phase2_tlv(sm, data, id); in eap_peap_buildReq()
549 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
551 data->ssl.tls_out = eap_peap_build_phase2_term(sm, data, id, in eap_peap_buildReq()
555 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
557 data->ssl.tls_out = eap_peap_build_phase2_term(sm, data, id, in eap_peap_buildReq()
Deap_server_fast.c830 if (data->ssl.tls_out && piggyback) { in eap_fast_encrypt_phase2()
835 (int) wpabuf_len(data->ssl.tls_out), in eap_fast_encrypt_phase2()
837 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_fast_encrypt_phase2()
843 wpabuf_put_buf(data->ssl.tls_out, encr); in eap_fast_encrypt_phase2()
846 wpabuf_free(data->ssl.tls_out); in eap_fast_encrypt_phase2()
848 data->ssl.tls_out = encr; in eap_fast_encrypt_phase2()
1461 wpabuf_len(data->ssl.tls_out) > 0) in eap_fast_process_phase1()
Deap_tls_common.h24 struct wpabuf *tls_out; member
Deap_server_ttls.c490 wpabuf_free(data->ssl.tls_out); in eap_ttls_buildReq()
492 data->ssl.tls_out = eap_ttls_build_phase2_eap_req(sm, data, in eap_ttls_buildReq()
496 wpabuf_free(data->ssl.tls_out); in eap_ttls_buildReq()
498 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.c574 if (data->tls_out) { in eap_tls_process_input()
578 wpabuf_free(data->tls_out); in eap_tls_process_input()
579 WPA_ASSERT(data->tls_out == NULL); in eap_tls_process_input()
582 data->tls_out = tls_connection_handshake(data->ssl_ctx, data->conn, in eap_tls_process_input()
620 if (data->tls_out == NULL) in eap_tls_process_output()
622 len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_tls_process_output()
626 (unsigned long) wpabuf_len(data->tls_out)); in eap_tls_process_output()
641 (wpabuf_len(data->tls_out) > data->tls_out_limit || in eap_tls_process_output()
666 wpabuf_put_be32(*out_data, wpabuf_len(data->tls_out)); in eap_tls_process_output()
670 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_tls.c180 if (data->ssl.tls_out) { in eap_tls_success()
Deap_ttls.c1591 !data->ssl.tls_out) { in eap_ttls_check_auth_status()