Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_peer/
Deap_tls_common.h75 u8 eap_type; member
94 struct eap_peer_config *config, u8 eap_type);
99 struct eap_ssl_data *data, u8 eap_type,
102 EapType eap_type, int peap_version,
105 struct wpabuf * eap_peer_tls_build_ack(u8 id, EapType eap_type,
112 EapType eap_type,
122 EapType eap_type, int peap_version, u8 id,
Deap_tls_common.c142 if (sm->workaround && data->eap_type != EAP_TYPE_FAST) { in eap_tls_params_from_conf()
160 if (data->eap_type == EAP_TYPE_FAST) in eap_tls_params_from_conf()
253 struct eap_peer_config *config, u8 eap_type) in eap_peer_tls_ssl_init() argument
261 data->eap_type = eap_type; in eap_peer_tls_ssl_init()
355 struct eap_ssl_data *data, u8 eap_type, in eap_peer_tls_derive_session_id() argument
371 out[0] = eap_type; in eap_peer_tls_derive_session_id()
545 static int eap_tls_process_output(struct eap_ssl_data *data, EapType eap_type, in eap_tls_process_output() argument
577 eap_type == EAP_TYPE_PEAP && peap_version == 0 && in eap_tls_process_output()
588 *out_data = eap_tls_msg_alloc(eap_type, 1 + length_included * 4 + len, in eap_tls_process_output()
643 EapType eap_type, int peap_version, in eap_peer_tls_process_helper() argument
[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()
247 pos = eap_peer_tls_process_init(sm, &data->ssl, data->eap_type, ret, in eap_tls_process()
261 res = eap_peer_tls_process_helper(sm, &data->ssl, data->eap_type, 0, in eap_tls_process()
281 return eap_peer_tls_build_ack(id, data->eap_type, 0); in eap_tls_process()
Deap_peap.c316 u8 eap_type = EAP_TYPE_PEAP; in eap_tlv_add_cryptobinding() local
324 addr[1] = &eap_type; in eap_tlv_add_cryptobinding()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls.c24 u8 eap_type; member
66 wpabuf_put_u8(buf, data->eap_type); in eap_tls_valid_session()
86 data->eap_type = EAP_TYPE_TLS; in eap_tls_init()
108 data->eap_type = EAP_UNAUTH_TLS_TYPE; in eap_unauth_tls_init()
131 data->eap_type = EAP_WFA_UNAUTH_TLS_TYPE; in eap_wfa_unauth_tls_init()
152 req = eap_tls_msg_alloc(data->eap_type, 1, EAP_CODE_REQUEST, id); in eap_tls_build_start()
174 return eap_server_tls_build_ack(id, data->eap_type, 0); in eap_tls_buildReq()
178 res = eap_server_tls_build_msg(&data->ssl, data->eap_type, 0, in eap_tls_buildReq()
196 res = eap_server_tls_build_msg(&data->ssl, data->eap_type, 0, id); in eap_tls_buildReq()
218 if (data->eap_type == EAP_UNAUTH_TLS_TYPE) in eap_tls_check()
[all …]
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()
142 struct eap_ssl_data *data, u8 eap_type, in eap_server_tls_derive_session_id() argument
160 out[0] = eap_type; in eap_server_tls_derive_session_id()
170 int eap_type, int version, u8 id) in eap_server_tls_build_msg() argument
197 req = eap_tls_msg_alloc(eap_type, plen, EAP_CODE_REQUEST, id); in eap_server_tls_build_msg()
229 struct wpabuf * eap_server_tls_build_ack(u8 id, int eap_type, int version) in eap_server_tls_build_ack() argument
233 req = eap_tls_msg_alloc(eap_type, 1, EAP_CODE_REQUEST, id); in eap_server_tls_build_ack()
427 struct wpabuf *respData, void *priv, int eap_type, in eap_server_tls_process() argument
[all …]
Deap_tls_common.h73 int verify_peer, int eap_type);
78 struct eap_ssl_data *data, u8 eap_type,
81 int eap_type, int version, u8 id);
82 struct wpabuf * eap_server_tls_build_ack(u8 id, int eap_type, int version);
88 struct wpabuf *respData, void *priv, int eap_type,
Deap_server_peap.c414 u8 eap_type = EAP_TYPE_PEAP; in eap_peap_build_phase2_tlv() local
438 addr[1] = &eap_type; in eap_peap_build_phase2_tlv()
584 int vendor, EapType eap_type) in eap_peap_phase2_init() argument
591 data->phase2_method = eap_server_get_eap_method(vendor, eap_type); in eap_peap_phase2_init()
Deap_server_ttls.c828 EapType eap_type) in eap_ttls_phase2_eap_init() argument
836 eap_type); in eap_ttls_phase2_eap_init()
Deap_server_fast.c948 EapType eap_type) in eap_fast_phase2_init() argument
956 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.c759 int eap_type = -1; in ieee802_1x_decapsulate_radius() local
788 eap_type = (wpabuf_head_u8(eap))[sizeof(*hdr)]; in ieee802_1x_decapsulate_radius()
794 eap_type >= 0 ? eap_type_text(eap_type) : "??", in ieee802_1x_decapsulate_radius()
795 eap_type); in ieee802_1x_decapsulate_radius()
799 eap_type >= 0 ? eap_type_text(eap_type) : "??", in ieee802_1x_decapsulate_radius()
800 eap_type); in ieee802_1x_decapsulate_radius()
Dinterworking.c969 int eap_type; in interworking_connect_3gpp() local
1006 eap_type = EAP_TYPE_SIM; in interworking_connect_3gpp()
1008 eap_type = EAP_TYPE_AKA; in interworking_connect_3gpp()
1013 eap_type = cred->eap_method[0].method; in interworking_connect_3gpp()
1016 switch (eap_type) { in interworking_connect_3gpp()
1035 "Selected EAP method (%d) not supported", eap_type); in interworking_connect_3gpp()
/external/wpa_supplicant_8/src/ap/
Dieee802_1x.c1242 int eap_type = -1; in ieee802_1x_decapsulate_radius() local
1277 eap_type = (wpabuf_head_u8(eap))[sizeof(*hdr)]; in ieee802_1x_decapsulate_radius()
1282 if (eap_type >= 0) in ieee802_1x_decapsulate_radius()
1283 sm->eap_type_authsrv = eap_type; in ieee802_1x_decapsulate_radius()
1285 eap_server_get_name(0, eap_type), eap_type); in ieee802_1x_decapsulate_radius()
1289 eap_server_get_name(0, eap_type), eap_type); in ieee802_1x_decapsulate_radius()