Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_tls_common.c110 wpabuf_free(data->tls_out); in eap_server_tls_ssl_deinit()
111 data->tls_out = NULL; in eap_server_tls_ssl_deinit()
208 if (data->tls_out == NULL) { in eap_server_tls_build_msg()
214 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_server_tls_build_msg()
234 wpabuf_put_be32(req, wpabuf_len(data->tls_out)); in eap_server_tls_build_msg()
236 wpabuf_put_data(req, wpabuf_head_u8(data->tls_out) + data->tls_out_pos, in eap_server_tls_build_msg()
240 if (data->tls_out_pos == wpabuf_len(data->tls_out)) { in eap_server_tls_build_msg()
244 wpabuf_free(data->tls_out); in eap_server_tls_build_msg()
245 data->tls_out = NULL; in eap_server_tls_build_msg()
251 (unsigned long) wpabuf_len(data->tls_out) - in eap_server_tls_build_msg()
[all …]
H A Deap_server_peap.c521 wpabuf_free(data->ssl.tls_out); in eap_peap_build_phase2_term()
526 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr_req)) < 0) { in eap_peap_build_phase2_term()
532 wpabuf_put_buf(data->ssl.tls_out, encr_req); in eap_peap_build_phase2_term()
537 return data->ssl.tls_out; in eap_peap_build_phase2_term()
565 if (data->ssl.tls_v13 && data->ssl.tls_out && in eap_peap_buildReq()
566 wpabuf_len(data->ssl.tls_out) == 0) { in eap_peap_buildReq()
583 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
585 data->ssl.tls_out = eap_peap_build_phase2_req(sm, data, id); in eap_peap_buildReq()
589 wpabuf_free(data->ssl.tls_out); in eap_peap_buildReq()
591 data->ssl.tls_out = eap_peap_build_phase2_soh(sm, data, id); in eap_peap_buildReq()
[all …]
H A Deap_server_fast.c821 if (data->ssl.tls_out && piggyback) { in eap_fast_encrypt_phase2()
826 (int) wpabuf_len(data->ssl.tls_out), in eap_fast_encrypt_phase2()
828 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_fast_encrypt_phase2()
834 wpabuf_put_buf(data->ssl.tls_out, encr); in eap_fast_encrypt_phase2()
837 wpabuf_free(data->ssl.tls_out); in eap_fast_encrypt_phase2()
839 data->ssl.tls_out = encr; in eap_fast_encrypt_phase2()
1465 wpabuf_len(data->ssl.tls_out) > 0) in eap_fast_process_phase1()
H A Deap_tls_common.h24 struct wpabuf *tls_out; member
H A Deap_server_teap.c869 if (data->ssl.tls_out && piggyback) { in eap_teap_encrypt_phase2()
873 (int) wpabuf_len(data->ssl.tls_out), in eap_teap_encrypt_phase2()
875 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_teap_encrypt_phase2()
881 wpabuf_put_buf(data->ssl.tls_out, encr); in eap_teap_encrypt_phase2()
884 wpabuf_free(data->ssl.tls_out); in eap_teap_encrypt_phase2()
886 data->ssl.tls_out = encr; in eap_teap_encrypt_phase2()
1793 wpabuf_len(data->ssl.tls_out) > 0) in eap_teap_process_phase1()
H A Deap_server_tls.c310 if (data->ssl.tls_v13 && data->ssl.tls_out) { in eap_tls_process()
313 data->ssl.tls_out); in eap_tls_process()
H A Deap_server_ttls.c492 wpabuf_free(data->ssl.tls_out); in eap_ttls_buildReq()
494 data->ssl.tls_out = eap_ttls_build_phase2_eap_req(sm, data, in eap_ttls_buildReq()
498 wpabuf_free(data->ssl.tls_out); in eap_ttls_buildReq()
500 data->ssl.tls_out = eap_ttls_build_phase2_mschapv2(sm, data); in eap_ttls_buildReq()
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_tls_common.c595 if (data->tls_out) { in eap_tls_process_input()
599 wpabuf_free(data->tls_out); in eap_tls_process_input()
600 WPA_ASSERT(data->tls_out == NULL); in eap_tls_process_input()
603 data->tls_out = tls_connection_handshake(data->ssl_ctx, data->conn, in eap_tls_process_input()
642 if (data->tls_out == NULL) in eap_tls_process_output()
644 len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_tls_process_output()
648 (unsigned long) wpabuf_len(data->tls_out)); in eap_tls_process_output()
663 (wpabuf_len(data->tls_out) > data->tls_out_limit || in eap_tls_process_output()
688 wpabuf_put_be32(*out_data, wpabuf_len(data->tls_out)); in eap_tls_process_output()
692 wpabuf_head_u8(data->tls_out) + data->tls_out_pos, in eap_tls_process_output()
[all …]
H A Deap_tls_common.h24 struct wpabuf *tls_out; member
H A Deap_tls.c190 if (data->ssl.tls_out) { in eap_tls_success()
H A Deap_ttls.c1660 !data->ssl.tls_out) { in eap_ttls_check_auth_status()
H A Deap_teap.c1529 if (res == 0 && !data->ssl.tls_out && in eap_teap_decrypt()
/freebsd/crypto/openssl/test/certs/
H A Dmkcert.sh396 --tls_out ${cert}.tlssct