Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_tls_common.c105 wpabuf_free(data->tls_out); in eap_server_tls_ssl_deinit()
106 data->tls_out = NULL; in eap_server_tls_ssl_deinit()
203 if (data->tls_out == NULL) { in eap_server_tls_build_msg()
209 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_server_tls_build_msg()
229 wpabuf_put_be32(req, wpabuf_len(data->tls_out)); in eap_server_tls_build_msg()
231 wpabuf_put_data(req, wpabuf_head_u8(data->tls_out) + data->tls_out_pos, in eap_server_tls_build_msg()
235 if (data->tls_out_pos == wpabuf_len(data->tls_out)) { in eap_server_tls_build_msg()
239 wpabuf_free(data->tls_out); in eap_server_tls_build_msg()
240 data->tls_out = NULL; in eap_server_tls_build_msg()
246 (unsigned long) wpabuf_len(data->tls_out) - in eap_server_tls_build_msg()
[all …]
Deap_server_peap.c517 wpabuf_free(data->ssl.tls_out); in eap_peap_build_phase2_term()
522 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr_req)) < 0) { in eap_peap_build_phase2_term()
528 wpabuf_put_buf(data->ssl.tls_out, encr_req); in eap_peap_build_phase2_term()
533 return data->ssl.tls_out; in eap_peap_build_phase2_term()
565 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
567 data->ssl.tls_out = eap_peap_build_phase2_req(sm, data, id); in eap_peap_buildReq()
571 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
573 data->ssl.tls_out = eap_peap_build_phase2_soh(sm, data, id); in eap_peap_buildReq()
577 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
579 data->ssl.tls_out = eap_peap_build_phase2_tlv(sm, data, id); in eap_peap_buildReq()
[all …]
Deap_server_fast.c832 if (data->ssl.tls_out && piggyback) { in eap_fast_encrypt_phase2()
837 (int) wpabuf_len(data->ssl.tls_out), in eap_fast_encrypt_phase2()
839 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_fast_encrypt_phase2()
845 wpabuf_put_buf(data->ssl.tls_out, encr); in eap_fast_encrypt_phase2()
848 wpabuf_free(data->ssl.tls_out); in eap_fast_encrypt_phase2()
850 data->ssl.tls_out = encr; in eap_fast_encrypt_phase2()
1475 wpabuf_len(data->ssl.tls_out) > 0) in eap_fast_process_phase1()
Deap_tls_common.h24 struct wpabuf *tls_out; member
Deap_server_teap.c863 if (data->ssl.tls_out && piggyback) { in eap_teap_encrypt_phase2()
867 (int) wpabuf_len(data->ssl.tls_out), in eap_teap_encrypt_phase2()
869 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_teap_encrypt_phase2()
875 wpabuf_put_buf(data->ssl.tls_out, encr); in eap_teap_encrypt_phase2()
878 wpabuf_free(data->ssl.tls_out); in eap_teap_encrypt_phase2()
880 data->ssl.tls_out = encr; in eap_teap_encrypt_phase2()
1760 wpabuf_len(data->ssl.tls_out) > 0) in eap_teap_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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_tls_common.c592 if (data->tls_out) { in eap_tls_process_input()
596 wpabuf_free(data->tls_out); in eap_tls_process_input()
597 WPA_ASSERT(data->tls_out == NULL); in eap_tls_process_input()
600 data->tls_out = tls_connection_handshake(data->ssl_ctx, data->conn, in eap_tls_process_input()
639 if (data->tls_out == NULL) in eap_tls_process_output()
641 len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_tls_process_output()
645 (unsigned long) wpabuf_len(data->tls_out)); in eap_tls_process_output()
660 (wpabuf_len(data->tls_out) > data->tls_out_limit || in eap_tls_process_output()
685 wpabuf_put_be32(*out_data, wpabuf_len(data->tls_out)); in eap_tls_process_output()
689 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.c189 if (data->ssl.tls_out) { in eap_tls_success()
Deap_ttls.c1635 !data->ssl.tls_out) { in eap_ttls_check_auth_status()
Deap_teap.c1522 if (res == 0 && !data->ssl.tls_out && in eap_teap_decrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
202 if (data->tls_out == NULL) { in eap_server_tls_build_msg()
208 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_server_tls_build_msg()
228 wpabuf_put_be32(req, wpabuf_len(data->tls_out)); in eap_server_tls_build_msg()
230 wpabuf_put_data(req, wpabuf_head_u8(data->tls_out) + data->tls_out_pos, in eap_server_tls_build_msg()
234 if (data->tls_out_pos == wpabuf_len(data->tls_out)) { in eap_server_tls_build_msg()
238 wpabuf_free(data->tls_out); in eap_server_tls_build_msg()
239 data->tls_out = NULL; in eap_server_tls_build_msg()
245 (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_teap.c801 if (data->ssl.tls_out && piggyback) { in eap_teap_encrypt_phase2()
805 (int) wpabuf_len(data->ssl.tls_out), in eap_teap_encrypt_phase2()
807 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_teap_encrypt_phase2()
813 wpabuf_put_buf(data->ssl.tls_out, encr); in eap_teap_encrypt_phase2()
816 wpabuf_free(data->ssl.tls_out); in eap_teap_encrypt_phase2()
818 data->ssl.tls_out = encr; in eap_teap_encrypt_phase2()
1609 wpabuf_len(data->ssl.tls_out) > 0) in eap_teap_process_phase1()
Deap_server_tls.c290 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_tls_process_msg()
296 wpabuf_put_buf(data->ssl.tls_out, encr); in eap_tls_process_msg()
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_tls_common.c584 if (data->tls_out) { in eap_tls_process_input()
588 wpabuf_free(data->tls_out); in eap_tls_process_input()
589 WPA_ASSERT(data->tls_out == NULL); in eap_tls_process_input()
592 data->tls_out = tls_connection_handshake(data->ssl_ctx, data->conn, in eap_tls_process_input()
630 if (data->tls_out == NULL) in eap_tls_process_output()
632 len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_tls_process_output()
636 (unsigned long) wpabuf_len(data->tls_out)); in eap_tls_process_output()
651 (wpabuf_len(data->tls_out) > data->tls_out_limit || in eap_tls_process_output()
676 wpabuf_put_be32(*out_data, wpabuf_len(data->tls_out)); in eap_tls_process_output()
680 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.c183 if (data->ssl.tls_out) { in eap_tls_success()
305 data->ssl.tls_out); in eap_tls_process()
Deap_ttls.c1591 !data->ssl.tls_out) { in eap_ttls_check_auth_status()
Deap_teap.c1410 if (res == 0 && !data->ssl.tls_out && in eap_teap_decrypt()
/third_party/openssl/test/certs/
Dmkcert.sh391 --tls_out ${cert}.tlssct