/hal_espressif-3.7.0/components/wpa_supplicant/src/ap/ |
D | eap_user_db.c | 120 if (len <= user->identity_len && in get_wildcard_cb() 136 size_t identity_len, int phase2) in eap_user_sqlite_get() argument 144 if (identity_len >= sizeof(id_str)) { in eap_user_sqlite_get() 146 __func__, (int) identity_len, in eap_user_sqlite_get() 150 os_memcpy(id_str, identity, identity_len); in eap_user_sqlite_get() 151 id_str[identity_len] = '\0'; in eap_user_sqlite_get() 152 for (i = 0; i < identity_len; i++) { in eap_user_sqlite_get() 169 hapd->tmp_eap_user.identity_len); in eap_user_sqlite_get() 174 hapd->tmp_eap_user.identity = os_zalloc(identity_len + 1); in eap_user_sqlite_get() 177 os_memcpy(hapd->tmp_eap_user.identity, identity, identity_len); in eap_user_sqlite_get() [all …]
|
D | ieee802_1x.c | 303 size_t identity_len; in ieee802_1x_eapol_send() local 306 identity = eap_get_identity(sm->eap, &identity_len); in ieee802_1x_eapol_send() 308 ((identity_len == WSC_ID_ENROLLEE_LEN && in ieee802_1x_eapol_send() 311 (identity_len == WSC_ID_REGISTRAR_LEN && in ieee802_1x_eapol_send() 347 size_t identity_len, int phase2, in ieee802_1x_get_eap_user() argument 355 eap_user = hostapd_get_eap_user(hapd, identity, identity_len, phase2); in ieee802_1x_get_eap_user()
|
D | pmksa_cache_auth.h | 26 size_t identity_len; member
|
D | hostapd.h | 170 size_t identity_len, int phase2);
|
D | ap_config.h | 112 size_t identity_len; member
|
/hal_espressif-3.7.0/components/wpa_supplicant/src/eap_peer/ |
D | eap.c | 355 size_t identity_len; in eap_sm_buildIdentity() local 365 &identity_len)) != NULL) { in eap_sm_buildIdentity() 367 "identity", identity, identity_len); in eap_sm_buildIdentity() 370 identity_len = config->anonymous_identity_len; in eap_sm_buildIdentity() 372 identity, identity_len); in eap_sm_buildIdentity() 375 identity_len = config->identity_len; in eap_sm_buildIdentity() 377 identity, identity_len); in eap_sm_buildIdentity() 387 identity_len = config->identity_len; in eap_sm_buildIdentity() 389 "IMSI", identity, identity_len); in eap_sm_buildIdentity() 399 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, identity_len, in eap_sm_buildIdentity() [all …]
|
D | mschapv2.c | 33 int mschapv2_derive_response(const u8 *identity, size_t identity_len, in mschapv2_derive_response() argument 46 identity, identity_len); in mschapv2_derive_response() 47 username_len = identity_len; in mschapv2_derive_response()
|
D | eap_ttls.c | 424 size_t identity_len, password_len; in eap_ttls_phase2_request_mschapv2() 429 identity = eap_get_config_identity(sm, &identity_len); in eap_ttls_phase2_request_mschapv2() 434 msg = wpabuf_alloc(identity_len + 1000); in eap_ttls_phase2_request_mschapv2() 443 identity, identity_len); in eap_ttls_phase2_request_mschapv2() 477 if (mschapv2_derive_response(identity, identity_len, password, in eap_ttls_phase2_request_mschapv2() 528 size_t identity_len, password_len; in eap_ttls_phase2_request_mschap() 533 identity = eap_get_config_identity(sm, &identity_len); in eap_ttls_phase2_request_mschap() 538 msg = wpabuf_alloc(identity_len + 1000); in eap_ttls_phase2_request_mschap() 548 identity, identity_len); in eap_ttls_phase2_request_mschap() 612 size_t identity_len, password_len; in eap_ttls_phase2_request_pap() local [all …]
|
D | eap_mschapv2.c | 139 size_t identity_len, password_len; in eap_mschapv2_challenge_reply() local 145 identity = eap_get_config_identity(sm, &identity_len); in eap_mschapv2_challenge_reply() 150 ms_len = sizeof(*ms) + 1 + sizeof(*r) + identity_len; in eap_mschapv2_challenge_reply() 189 if (mschapv2_derive_response(identity, identity_len, password, in eap_mschapv2_challenge_reply() 203 wpabuf_put_data(resp, identity, identity_len); in eap_mschapv2_challenge_reply() 673 config->identity_len == 0) { in eap_mschapv2_check_config()
|
D | eap_config.h | 27 size_t identity_len; member
|
/hal_espressif-3.7.0/components/wpa_supplicant/esp_supplicant/src/ |
D | esp_hostpad_wps.c | 58 sm->identity_len = WSC_ID_REGISTRAR_LEN; in wifi_ap_wps_init() 59 os_memcpy(sm->identity, WSC_ID_REGISTRAR, sm->identity_len); in wifi_ap_wps_init() 197 if (sm && os_memcmp(sm->identity, WSC_ID_ENROLLEE, sm->identity_len) == 0) { in esp_wifi_ap_wps_enable() 219 if (sm && os_memcmp(sm->identity, WSC_ID_ENROLLEE, sm->identity_len) == 0) { in esp_wifi_ap_wps_disable()
|
D | esp_wps_i.h | 62 u8 identity_len; member
|
D | esp_wps.c | 430 eap_buf = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, sm->identity_len, in wps_send_eap_identity_rsp() 439 wpabuf_put_data(eap_buf, sm->identity, sm->identity_len); in wps_send_eap_identity_rsp() 1397 sm->identity_len = WSC_ID_ENROLLEE_LEN; in wifi_station_wps_init() 1398 os_memcpy(sm->identity, WSC_ID_ENROLLEE, sm->identity_len); in wifi_station_wps_init() 1812 if (sm && os_memcmp(sm->identity, WSC_ID_REGISTRAR, sm->identity_len) == 0) { in esp_wifi_wps_enable() 1894 if (wps_sm && os_memcmp(wps_sm->identity, WSC_ID_REGISTRAR, wps_sm->identity_len) == 0) { in esp_wifi_wps_disable()
|
/hal_espressif-3.7.0/components/wpa_supplicant/src/eap_server/ |
D | eap_i.h | 160 size_t identity_len; member 197 int eap_user_get(struct eap_sm *sm, const u8 *identity, size_t identity_len,
|
D | eap_server_wsc.c | 67 if (sm->identity && sm->identity_len == WSC_ID_REGISTRAR_LEN && in eap_wsc_init() 71 else if (sm->identity && sm->identity_len == WSC_ID_ENROLLEE_LEN && in eap_wsc_init() 77 sm->identity, sm->identity_len); in eap_wsc_init()
|
D | eap.h | 101 int (*get_eap_user)(void *ctx, const u8 *identity, size_t identity_len,
|
D | eap_server_identity.c | 137 sm->identity_len = len; in eap_identity_process()
|
D | eap_server.c | 160 int eap_user_get(struct eap_sm *sm, const u8 *identity, size_t identity_len, in eap_user_get() argument 177 identity_len, phase2, user) != 0) { in eap_user_get() 880 sm->identity_len = parse.keyname_len; in SM_STATE() 1769 if (eap_user_get(sm, sm->identity, sm->identity_len, 0) != 0) { in eap_sm_Policy_getDecision() 1981 *len = sm->identity_len; in eap_get_identity() 2053 sm->identity_len = parse.keyname_len; in eap_erp_update_identity() 2055 sm->identity_len = 0; in eap_erp_update_identity()
|
/hal_espressif-3.7.0/components/wpa_supplicant/src/eapol_auth/ |
D | eapol_auth_sm.h | 50 int (*get_eap_user)(void *ctx, const u8 *identity, size_t identity_len,
|
D | eapol_auth_sm_i.h | 154 size_t identity_len; member
|
D | eapol_auth_sm.c | 843 sm->identity_len = os_strlen(identity); in eapol_auth_alloc() 1013 size_t identity_len, int phase2, in eapol_sm_get_eap_user() argument 1020 identity_len, phase2, user); in eapol_sm_get_eap_user()
|