/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_tls_common.h | 76 u8 eap_type; member 101 struct eap_peer_config *config, u8 eap_type); 107 struct eap_ssl_data *data, u8 eap_type, 110 enum eap_type eap_type, int peap_version, 113 struct wpabuf * eap_peer_tls_build_ack(u8 id, enum eap_type eap_type, 120 enum eap_type eap_type, 130 enum eap_type eap_type, int peap_version, u8 id,
|
D | eap_tls_common.c | 19 static struct wpabuf * eap_tls_msg_alloc(enum eap_type type, size_t payload_len, in eap_tls_msg_alloc() 167 if (sm->workaround && data->eap_type != EAP_TYPE_FAST && in eap_tls_params_from_conf() 168 data->eap_type != EAP_TYPE_TEAP) { in eap_tls_params_from_conf() 180 if (data->eap_type == EAP_TYPE_TEAP) { in eap_tls_params_from_conf() 187 if (data->eap_type == EAP_TYPE_FAST || in eap_tls_params_from_conf() 188 data->eap_type == EAP_TYPE_TEAP || in eap_tls_params_from_conf() 189 data->eap_type == EAP_TYPE_TTLS || in eap_tls_params_from_conf() 190 data->eap_type == EAP_TYPE_PEAP) { in eap_tls_params_from_conf() 195 if (data->eap_type == EAP_TYPE_TLS || in eap_tls_params_from_conf() 196 data->eap_type == EAP_UNAUTH_TLS_TYPE || in eap_tls_params_from_conf() [all …]
|
D | eap_methods.h | 15 enum eap_type method); 19 enum eap_type method, 26 enum eap_type eap_peer_get_type(const char *name, int *vendor); 27 const char * eap_get_name(int vendor, enum eap_type type); 34 static inline enum eap_type eap_peer_get_type(const char *name, int *vendor) in eap_peer_get_type() 40 static inline const char * eap_get_name(int vendor, enum eap_type type) in eap_get_name()
|
D | eap_tls.c | 27 u8 eap_type; member 75 data->eap_type = EAP_TYPE_TLS; in eap_tls_init() 101 data->eap_type = EAP_UNAUTH_TLS_TYPE; in eap_unauth_tls_init() 128 data->eap_type = EAP_WFA_UNAUTH_TLS_TYPE; in eap_wfa_unauth_tls_init() 175 return eap_peer_tls_build_ack(id, data->eap_type, 0); in eap_tls_failure() 276 pos = eap_peer_tls_process_init(sm, &data->ssl, data->eap_type, ret, in eap_tls_process() 290 res = eap_peer_tls_process_helper(sm, &data->ssl, data->eap_type, 0, in eap_tls_process() 318 return eap_peer_tls_build_ack(id, data->eap_type, 0); in eap_tls_process()
|
D | eap_methods.c | 31 enum eap_type method) in eap_peer_get_eap_method() 51 enum eap_type eap_peer_get_type(const char *name, int *vendor) in eap_peer_get_type() 74 const char * eap_get_name(int vendor, enum eap_type type) in eap_get_name() 283 enum eap_type method, in eap_peer_method_alloc()
|
D | eap_i.h | 75 enum eap_type method; 315 enum eap_type selectedMethod; 325 enum eap_type reqMethod;
|
D | eap_proxy_qmi_oc.c | 740 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 …]
|
D | eap_proxy_qmi_oc.h | 128 int eap_type; member
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_tls_common.h | 76 struct wpabuf * eap_tls_msg_alloc(enum eap_type type, size_t payload_len, 79 int verify_peer, int eap_type); 85 struct eap_ssl_data *data, u8 eap_type, 88 int eap_type, int version, u8 id); 89 struct wpabuf * eap_server_tls_build_ack(u8 id, int eap_type, int version); 95 struct wpabuf *respData, void *priv, int eap_type,
|
D | eap_server_tls_common.c | 21 struct wpabuf * eap_tls_msg_alloc(enum eap_type type, size_t payload_len, in eap_tls_msg_alloc() 47 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() 144 struct eap_ssl_data *data, u8 eap_type, in eap_server_tls_derive_session_id() argument 152 const u8 context[] = { eap_type }; in eap_server_tls_derive_session_id() 168 id[0] = eap_type; in eap_server_tls_derive_session_id() 186 out[0] = eap_type; in eap_server_tls_derive_session_id() 196 int eap_type, int version, u8 id) in eap_server_tls_build_msg() argument 223 req = eap_tls_msg_alloc(eap_type, plen, EAP_CODE_REQUEST, id); in eap_server_tls_build_msg() [all …]
|
D | eap_server_tls.c | 24 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() 200 res = eap_server_tls_build_msg(&data->ssl, data->eap_type, 0, id); in eap_tls_buildReq() 236 if (data->eap_type == EAP_UNAUTH_TLS_TYPE) in eap_tls_check() [all …]
|
D | eap_methods.h | 15 enum eap_type method); 17 enum eap_type method, 21 enum eap_type eap_server_get_type(const char *name, int *vendor); 23 const char * eap_server_get_name(int vendor, enum eap_type type);
|
D | eap_server_methods.c | 26 enum eap_type method) in eap_server_get_eap_method() 46 enum eap_type eap_server_get_type(const char *name, int *vendor) in eap_server_get_type() 73 enum eap_type method, in eap_server_method_alloc() 168 const char * eap_server_get_name(int vendor, enum eap_type type) in eap_server_get_name()
|
D | eap_i.h | 26 enum eap_type method; 130 enum eap_type currentMethod; 143 enum eap_type respMethod;
|
D | eap_server.c | 38 static enum eap_type eap_sm_Policy_getNextMethod(struct eap_sm *sm, 41 static bool eap_sm_Policy_doPickUp(struct eap_sm *sm, enum eap_type method); 96 (enum eap_type) EAP_ERP_TYPE_REAUTH_START, plen, in eap_sm_buildInitiateReauthStart() 551 enum eap_type type; in SM_STATE() 731 (enum eap_type) EAP_ERP_TYPE_REAUTH, in erp_send_finish_reauth() 817 (enum eap_type) EAP_ERP_TYPE_REAUTH, in SM_STATE() 1690 static enum eap_type eap_sm_Policy_getNextMethod(struct eap_sm *sm, int *vendor) in eap_sm_Policy_getNextMethod() 1692 enum eap_type next; in eap_sm_Policy_getNextMethod() 1804 static bool eap_sm_Policy_doPickUp(struct eap_sm *sm, enum eap_type method) in eap_sm_Policy_doPickUp()
|
D | eap_server_fast.c | 111 static enum eap_type eap_fast_req_failure(struct eap_sm *sm, in eap_fast_req_failure() 949 int vendor, enum eap_type eap_type) in eap_fast_phase2_init() argument 956 data->phase2_method = eap_server_get_eap_method(vendor, eap_type); in eap_fast_phase2_init() 979 enum eap_type next_type = EAP_TYPE_NONE; in eap_fast_process_phase2_response() 1492 enum eap_type next_type; in eap_fast_process_phase2_start()
|
D | eap_server_peap.c | 432 u8 eap_type = EAP_TYPE_PEAP; in eap_peap_build_phase2_tlv() local 456 addr[1] = &eap_type; in eap_peap_build_phase2_tlv() 619 int vendor, enum eap_type eap_type) in eap_peap_phase2_init() argument 626 data->phase2_method = eap_server_get_eap_method(vendor, eap_type); in eap_peap_phase2_init()
|
D | eap_server_teap.c | 128 static enum eap_type eap_teap_req_failure(struct eap_teap_data *data, in eap_teap_req_failure() 1000 int vendor, enum eap_type eap_type) in eap_teap_phase2_init() argument 1007 data->phase2_method = eap_server_get_eap_method(vendor, eap_type); in eap_teap_phase2_init() 1045 enum eap_type next_type = EAP_TYPE_NONE; in eap_teap_process_phase2_response() 1777 enum eap_type next_type; in eap_teap_process_phase2_start()
|
D | eap_server_ttls.c | 831 int vendor, enum eap_type eap_type) in eap_ttls_phase2_eap_init() argument 838 data->phase2_method = eap_server_get_eap_method(vendor, eap_type); in eap_ttls_phase2_eap_init() 854 enum eap_type next_type = EAP_TYPE_NONE; in eap_ttls_process_phase2_eap_response()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_common.h | 23 const u8 * eap_hdr_validate(int vendor, enum eap_type eap_type, 25 struct wpabuf * eap_msg_alloc(int vendor, enum eap_type type, 29 enum eap_type eap_get_type(const struct wpabuf *msg);
|
D | eap_common.c | 66 const u8 * eap_hdr_validate(int vendor, enum eap_type 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() 128 struct wpabuf * eap_msg_alloc(int vendor, enum eap_type type, in eap_msg_alloc() 199 enum eap_type eap_get_type(const struct wpabuf *msg) in eap_get_type()
|
D | eap_teap_common.h | 226 enum eap_type; 227 int eap_teap_allowed_anon_prov_phase2_method(int vendor, enum eap_type type);
|
D | eap_defs.h | 67 enum eap_type { enum
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | eapol_test.c | 754 int eap_type = -1; in ieee802_1x_decapsulate_radius() local 783 eap_type = (wpabuf_head_u8(eap))[sizeof(*hdr)]; in ieee802_1x_decapsulate_radius() 789 eap_type >= 0 ? eap_type_text(eap_type) : "??", in ieee802_1x_decapsulate_radius() 790 eap_type); 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()
|
/external/wpa_supplicant_8/src/ap/ |
D | ieee802_1x.c | 1411 int eap_type = -1; in ieee802_1x_decapsulate_radius() local 1446 eap_type = (wpabuf_head_u8(eap))[sizeof(*hdr)]; in ieee802_1x_decapsulate_radius() 1451 if (eap_type >= 0) in ieee802_1x_decapsulate_radius() 1452 sm->eap_type_authsrv = eap_type; in ieee802_1x_decapsulate_radius() 1454 eap_server_get_name(0, eap_type), eap_type); in ieee802_1x_decapsulate_radius() 1458 eap_server_get_name(0, eap_type), eap_type); in ieee802_1x_decapsulate_radius()
|