Home
last modified time | relevance | path

Searched refs:eap (Results 1 – 22 of 22) sorted by relevance

/hal_espressif-3.7.0/components/wpa_supplicant/src/eap_server/
Deap_server_identity.c159 struct eap_method *eap; in eap_server_identity_register() local
161 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_identity_register()
164 if (eap == NULL) in eap_server_identity_register()
167 eap->init = eap_identity_init; in eap_server_identity_register()
168 eap->initPickUp = eap_identity_initPickUp; in eap_server_identity_register()
169 eap->reset = eap_identity_reset; in eap_server_identity_register()
170 eap->buildReq = eap_identity_buildReq; in eap_server_identity_register()
171 eap->check = eap_identity_check; in eap_server_identity_register()
172 eap->process = eap_identity_process; in eap_server_identity_register()
173 eap->isDone = eap_identity_isDone; in eap_server_identity_register()
[all …]
Deap_server_methods.c76 struct eap_method *eap; in eap_server_method_alloc() local
77 eap = os_zalloc(sizeof(*eap)); in eap_server_method_alloc()
78 if (eap == NULL) in eap_server_method_alloc()
80 eap->version = version; in eap_server_method_alloc()
81 eap->vendor = vendor; in eap_server_method_alloc()
82 eap->method = method; in eap_server_method_alloc()
83 eap->name = name; in eap_server_method_alloc()
84 return eap; in eap_server_method_alloc()
Deap_server_wsc.c432 struct eap_method *eap; in eap_server_wsc_register() local
434 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_wsc_register()
437 if (eap == NULL) in eap_server_wsc_register()
440 eap->init = eap_wsc_init; in eap_server_wsc_register()
441 eap->reset = eap_wsc_reset; in eap_server_wsc_register()
442 eap->buildReq = eap_wsc_buildReq; in eap_server_wsc_register()
443 eap->check = eap_wsc_check; in eap_server_wsc_register()
444 eap->process = eap_wsc_process; in eap_server_wsc_register()
445 eap->isDone = eap_wsc_isDone; in eap_server_wsc_register()
446 eap->isSuccess = eap_wsc_isSuccess; in eap_server_wsc_register()
[all …]
Deap.h293 void eap_erp_update_identity(struct eap_sm *sm, const u8 *eap, size_t len);
Deap_server.c2023 void eap_erp_update_identity(struct eap_sm *sm, const u8 *eap, size_t len) in eap_erp_update_identity() argument
2032 hdr = (const struct eap_hdr *) eap; in eap_erp_update_identity()
2033 end = eap + len; in eap_erp_update_identity()
/hal_espressif-3.7.0/components/wpa_supplicant/src/eap_peer/
Deap_tls.c214 struct eap_method *eap; in eap_peer_tls_register() local
217 eap = eap_peer_method_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLS, in eap_peer_tls_register()
220 if (eap == NULL) in eap_peer_tls_register()
223 eap->init = eap_tls_init; in eap_peer_tls_register()
224 eap->deinit = eap_tls_deinit; in eap_peer_tls_register()
225 eap->process = eap_tls_process; in eap_peer_tls_register()
226 eap->isKeyAvailable = eap_tls_isKeyAvailable; in eap_peer_tls_register()
227 eap->getKey = eap_tls_getKey; in eap_peer_tls_register()
229 ret = eap_peer_method_register(eap); in eap_peer_tls_register()
231 eap_peer_method_free(eap); in eap_peer_tls_register()
Deap_common.c184 const struct eap_hdr *eap; in eap_get_id() local
186 if (wpabuf_len(msg) < sizeof(*eap)) in eap_get_id()
189 eap = wpabuf_head(msg); in eap_get_id()
190 return eap->identifier; in eap_get_id()
Deap_mschapv2.c842 struct eap_method *eap; in eap_peer_mschapv2_register() local
845 eap = eap_peer_method_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, in eap_peer_mschapv2_register()
848 if (eap == NULL) in eap_peer_mschapv2_register()
851 eap->init = eap_mschapv2_init; in eap_peer_mschapv2_register()
852 eap->deinit = eap_mschapv2_deinit; in eap_peer_mschapv2_register()
853 eap->process = eap_mschapv2_process; in eap_peer_mschapv2_register()
854 eap->isKeyAvailable = eap_mschapv2_isKeyAvailable; in eap_peer_mschapv2_register()
855 eap->getKey = eap_mschapv2_getKey; in eap_peer_mschapv2_register()
857 ret = eap_peer_method_register(eap); in eap_peer_mschapv2_register()
859 eap_peer_method_free(eap); in eap_peer_mschapv2_register()
Deap_peap.c1334 struct eap_method *eap; in eap_peer_peap_register() local
1337 eap = eap_peer_method_alloc(EAP_VENDOR_IETF, EAP_TYPE_PEAP, in eap_peer_peap_register()
1339 if (eap == NULL) in eap_peer_peap_register()
1342 eap->init = eap_peap_init; in eap_peer_peap_register()
1343 eap->deinit = eap_peap_deinit; in eap_peer_peap_register()
1344 eap->process = eap_peap_process; in eap_peer_peap_register()
1345 eap->isKeyAvailable = eap_peap_isKeyAvailable; in eap_peer_peap_register()
1346 eap->getKey = eap_peap_getKey; in eap_peer_peap_register()
1347 eap->get_status = eap_peap_get_status; in eap_peer_peap_register()
1348 eap->has_reauth_data = eap_peap_has_reauth_data; in eap_peer_peap_register()
[all …]
Deap_ttls.c1678 struct eap_method *eap; in eap_peer_ttls_register() local
1681 eap = eap_peer_method_alloc(EAP_VENDOR_IETF, EAP_TYPE_TTLS, in eap_peer_ttls_register()
1683 if (eap == NULL) in eap_peer_ttls_register()
1686 eap->init = eap_ttls_init; in eap_peer_ttls_register()
1687 eap->deinit = eap_ttls_deinit; in eap_peer_ttls_register()
1688 eap->process = eap_ttls_process; in eap_peer_ttls_register()
1689 eap->isKeyAvailable = eap_ttls_isKeyAvailable; in eap_peer_ttls_register()
1690 eap->getKey = eap_ttls_getKey; in eap_peer_ttls_register()
1691 eap->getSessionId = eap_ttls_get_session_id; in eap_peer_ttls_register()
1692 eap->get_status = eap_ttls_get_status; in eap_peer_ttls_register()
[all …]
Deap.c214 struct eap_method *eap; in eap_peer_method_alloc() local
215 eap = (struct eap_method *)os_zalloc(sizeof(*eap)); in eap_peer_method_alloc()
216 if (eap == NULL) in eap_peer_method_alloc()
218 eap->vendor = vendor; in eap_peer_method_alloc()
219 eap->method = method; in eap_peer_method_alloc()
220 eap->name = name; in eap_peer_method_alloc()
221 return eap; in eap_peer_method_alloc()
Deap_fast.c1786 struct eap_method *eap; in eap_peer_fast_register() local
1788 eap = eap_peer_method_alloc(EAP_VENDOR_IETF, EAP_TYPE_FAST, "FAST"); in eap_peer_fast_register()
1789 if (eap == NULL) in eap_peer_fast_register()
1792 eap->init = eap_fast_init; in eap_peer_fast_register()
1793 eap->deinit = eap_fast_deinit; in eap_peer_fast_register()
1794 eap->process = eap_fast_process; in eap_peer_fast_register()
1795 eap->isKeyAvailable = eap_fast_isKeyAvailable; in eap_peer_fast_register()
1796 eap->getKey = eap_fast_getKey; in eap_peer_fast_register()
1797 eap->getSessionId = eap_fast_get_session_id; in eap_peer_fast_register()
1798 eap->get_status = eap_fast_get_status; in eap_peer_fast_register()
[all …]
Deap_tls_common.h65 struct eap_sm *eap; member
Deap_tls_common.c210 data->eap = sm; in eap_peer_tls_ssl_init()
525 !tls_connection_established(data->eap->ssl_ctx, data->conn)) { in eap_tls_process_output()
/hal_espressif-3.7.0/components/wpa_supplicant/src/ap/
Dieee802_1x.c66 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_response() argument
75 data = (u8 *) (eap + 1); in handle_eap_response()
77 if (len < sizeof(*eap) + 1) { in handle_eap_response()
87 sm->eap_if->eapRespData = wpabuf_alloc_copy(eap, len); in handle_eap_response()
95 struct eap_hdr *eap; in handle_eap() local
98 if (len < sizeof(*eap)) { in handle_eap()
103 eap = (struct eap_hdr *) buf; in handle_eap()
105 eap_len = be_to_host16(eap->length); in handle_eap()
107 eap->code, eap->identifier, in handle_eap()
109 if (eap_len < sizeof(*eap)) { in handle_eap()
[all …]
/hal_espressif-3.7.0/components/wpa_supplicant/src/eapol_auth/
Deapol_auth_sm.c93 struct eap_hdr eap; in eapol_auth_tx_canned_eap() local
95 os_memset(&eap, 0, sizeof(eap)); in eapol_auth_tx_canned_eap()
97 eap.code = success ? EAP_CODE_SUCCESS : EAP_CODE_FAILURE; in eapol_auth_tx_canned_eap()
98 eap.identifier = ++sm->last_eap_id; in eapol_auth_tx_canned_eap()
99 eap.length = host_to_be16(sizeof(eap)); in eapol_auth_tx_canned_eap()
103 success ? "SUCCESS" : "FAILURE", eap.identifier); in eapol_auth_tx_canned_eap()
106 (u8 *) &eap, sizeof(eap)); in eapol_auth_tx_canned_eap()
830 sm->eap = eap_server_sm_init(sm, &eapol_cb, eapol->conf.eap_cfg, in eapol_auth_alloc()
832 if (sm->eap == NULL) { in eapol_auth_alloc()
836 sm->eap_if = eap_get_interface(sm->eap); in eapol_auth_alloc()
[all …]
Deapol_auth_sm_i.h162 struct eap_sm *eap; member
/hal_espressif-3.7.0/components/wpa_supplicant/
DCMakeLists.txt34 "src/eap_peer/eap.c"
/hal_espressif-3.7.0/zephyr/esp32/
DCMakeLists.txt433 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/eap_peer/eap.c"
/hal_espressif-3.7.0/zephyr/esp32c3/
DCMakeLists.txt413 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/eap_peer/eap.c"
/hal_espressif-3.7.0/zephyr/esp32s2/
DCMakeLists.txt408 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/eap_peer/eap.c"
/hal_espressif-3.7.0/zephyr/esp32s3/
DCMakeLists.txt459 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/eap_peer/eap.c"