Home
last modified time | relevance | path

Searched refs:eap_type (Results 1 – 17 of 17) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Deap_tls_common.h75 u8 eap_type; member
99 struct eap_peer_config *config, u8 eap_type);
105 struct eap_ssl_data *data, u8 eap_type,
108 EapType eap_type, int peap_version,
111 struct wpabuf * eap_peer_tls_build_ack(u8 id, EapType eap_type,
118 EapType eap_type,
128 EapType eap_type, int peap_version, u8 id,
Deap_tls_common.c162 if (sm->workaround && data->eap_type != EAP_TYPE_FAST) { in eap_tls_params_from_conf()
174 if (data->eap_type == EAP_TYPE_FAST || in eap_tls_params_from_conf()
175 data->eap_type == EAP_TYPE_TTLS || in eap_tls_params_from_conf()
176 data->eap_type == EAP_TYPE_PEAP) { in eap_tls_params_from_conf()
181 if (data->eap_type == EAP_TYPE_TLS || in eap_tls_params_from_conf()
182 data->eap_type == EAP_UNAUTH_TLS_TYPE || in eap_tls_params_from_conf()
183 data->eap_type == EAP_WFA_UNAUTH_TLS_TYPE) { in eap_tls_params_from_conf()
199 if (data->eap_type == EAP_TYPE_FAST) in eap_tls_params_from_conf()
292 struct eap_peer_config *config, u8 eap_type) in eap_peer_tls_ssl_init() argument
300 data->eap_type = eap_type; in eap_peer_tls_ssl_init()
[all …]
Deap_tls.c27 u8 eap_type; member
69 data->eap_type = EAP_TYPE_TLS; in eap_tls_init()
95 data->eap_type = EAP_UNAUTH_TLS_TYPE; in eap_unauth_tls_init()
122 data->eap_type = EAP_WFA_UNAUTH_TLS_TYPE; in eap_wfa_unauth_tls_init()
169 return eap_peer_tls_build_ack(id, data->eap_type, 0); in eap_tls_failure()
265 pos = eap_peer_tls_process_init(sm, &data->ssl, data->eap_type, ret, in eap_tls_process()
279 res = eap_peer_tls_process_helper(sm, &data->ssl, data->eap_type, 0, in eap_tls_process()
299 return eap_peer_tls_build_ack(id, data->eap_type, 0); in eap_tls_process()
Deap_proxy_qmi_oc.c740 eap_proxy->eap_type = EAP_TYPE_NONE; in eap_proxy_post_init()
923 eap_proxy->eap_type = EAP_TYPE_NONE; in eap_proxy_init()
1879 wpa_printf(MSG_ERROR, "eap_proxy: eap_type: %d\n", eap_proxy->eap_type); in eap_proxy_build_identity()
1916 if (eap_proxy->eap_type == EAP_TYPE_SIM) in eap_proxy_build_identity()
1918 else if (eap_proxy->eap_type == EAP_TYPE_AKA) in eap_proxy_build_identity()
1921 else if (eap_proxy->eap_type == EAP_TYPE_AKA_PRIME) in eap_proxy_build_identity()
2142 if (sm->eap_type != EAP_TYPE_NONE) { in eap_proxy_sm_get_status()
2145 if (sm->eap_type == EAP_TYPE_SIM) in eap_proxy_sm_get_status()
2147 else if (sm->eap_type == EAP_TYPE_AKA) in eap_proxy_sm_get_status()
2149 else if (sm->eap_type == EAP_TYPE_AKA_PRIME) in eap_proxy_sm_get_status()
[all …]
Deap_proxy_qmi_oc.h128 int eap_type; member
Deap_peap.c319 u8 eap_type = EAP_TYPE_PEAP; in eap_tlv_add_cryptobinding() local
327 addr[1] = &eap_type; in eap_tlv_add_cryptobinding()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls_common.c47 int verify_peer, int eap_type) in eap_server_tls_ssl_init() argument
74 if (eap_type != EAP_TYPE_FAST) in eap_server_tls_ssl_init()
77 session_ctx[7] = (u8) eap_type; in eap_server_tls_ssl_init()
143 struct eap_ssl_data *data, u8 eap_type, in eap_server_tls_derive_session_id() argument
149 if (eap_type == EAP_TYPE_TLS && data->tls_v13) { in eap_server_tls_derive_session_id()
166 id[0] = eap_type; in eap_server_tls_derive_session_id()
184 out[0] = eap_type; in eap_server_tls_derive_session_id()
194 int eap_type, int version, u8 id) in eap_server_tls_build_msg() argument
221 req = eap_tls_msg_alloc(eap_type, plen, EAP_CODE_REQUEST, id); in eap_server_tls_build_msg()
253 struct wpabuf * eap_server_tls_build_ack(u8 id, int eap_type, int version) in eap_server_tls_build_ack() argument
[all …]
Deap_server_tls.c24 u8 eap_type; member
67 wpabuf_put_u8(buf, data->eap_type); in eap_tls_valid_session()
87 data->eap_type = EAP_TYPE_TLS; in eap_tls_init()
111 data->eap_type = EAP_UNAUTH_TLS_TYPE; in eap_unauth_tls_init()
134 data->eap_type = EAP_WFA_UNAUTH_TLS_TYPE; in eap_wfa_unauth_tls_init()
155 req = eap_tls_msg_alloc(data->eap_type, 1, EAP_CODE_REQUEST, id); in eap_tls_build_start()
177 return eap_server_tls_build_ack(id, data->eap_type, 0); in eap_tls_buildReq()
181 res = eap_server_tls_build_msg(&data->ssl, data->eap_type, 0, in eap_tls_buildReq()
199 res = eap_server_tls_build_msg(&data->ssl, data->eap_type, 0, id); in eap_tls_buildReq()
235 if (data->eap_type == EAP_UNAUTH_TLS_TYPE) in eap_tls_check()
[all …]
Deap_tls_common.h78 int verify_peer, int eap_type);
84 struct eap_ssl_data *data, u8 eap_type,
87 int eap_type, int version, u8 id);
88 struct wpabuf * eap_server_tls_build_ack(u8 id, int eap_type, int version);
94 struct wpabuf *respData, void *priv, int eap_type,
Deap_server_peap.c418 u8 eap_type = EAP_TYPE_PEAP; in eap_peap_build_phase2_tlv() local
442 addr[1] = &eap_type; in eap_peap_build_phase2_tlv()
588 int vendor, EapType eap_type) in eap_peap_phase2_init() argument
595 data->phase2_method = eap_server_get_eap_method(vendor, eap_type); in eap_peap_phase2_init()
Deap_server_ttls.c830 EapType eap_type) in eap_ttls_phase2_eap_init() argument
838 eap_type); in eap_ttls_phase2_eap_init()
Deap_server_fast.c946 EapType eap_type) in eap_fast_phase2_init() argument
954 eap_type); in eap_fast_phase2_init()
/external/wpa_supplicant_8/src/eap_common/
Deap_common.c66 const u8 * eap_hdr_validate(int vendor, EapType eap_type, in eap_hdr_validate() argument
93 if (exp_vendor != vendor || exp_type != (u32) eap_type) { in eap_hdr_validate()
102 if (vendor != EAP_VENDOR_IETF || *pos != eap_type) { in eap_hdr_validate()
Deap_common.h23 const u8 * eap_hdr_validate(int vendor, EapType eap_type,
/external/wpa_supplicant_8/wpa_supplicant/
Deapol_test.c760 int eap_type = -1; in ieee802_1x_decapsulate_radius() local
789 eap_type = (wpabuf_head_u8(eap))[sizeof(*hdr)]; in ieee802_1x_decapsulate_radius()
795 eap_type >= 0 ? eap_type_text(eap_type) : "??", in ieee802_1x_decapsulate_radius()
796 eap_type); in ieee802_1x_decapsulate_radius()
800 eap_type >= 0 ? eap_type_text(eap_type) : "??", in ieee802_1x_decapsulate_radius()
801 eap_type); in ieee802_1x_decapsulate_radius()
Dinterworking.c974 int eap_type; in interworking_connect_3gpp() local
1011 eap_type = EAP_TYPE_SIM; in interworking_connect_3gpp()
1013 eap_type = EAP_TYPE_AKA; in interworking_connect_3gpp()
1018 eap_type = cred->eap_method[0].method; in interworking_connect_3gpp()
1021 switch (eap_type) { in interworking_connect_3gpp()
1040 "Selected EAP method (%d) not supported", eap_type); in interworking_connect_3gpp()
/external/wpa_supplicant_8/src/ap/
Dieee802_1x.c1308 int eap_type = -1; in ieee802_1x_decapsulate_radius() local
1343 eap_type = (wpabuf_head_u8(eap))[sizeof(*hdr)]; in ieee802_1x_decapsulate_radius()
1348 if (eap_type >= 0) in ieee802_1x_decapsulate_radius()
1349 sm->eap_type_authsrv = eap_type; in ieee802_1x_decapsulate_radius()
1351 eap_server_get_name(0, eap_type), eap_type); in ieee802_1x_decapsulate_radius()
1355 eap_server_get_name(0, eap_type), eap_type); in ieee802_1x_decapsulate_radius()