/hal_espressif-latest/components/wpa_supplicant/src/ap/ |
D | eap_user_db.c | 121 os_memcmp(argv[id], user->identity, len) == 0 && in get_wildcard_cb() 135 eap_user_sqlite_get(struct hostapd_data *hapd, const u8 *identity, in eap_user_sqlite_get() argument 150 os_memcpy(id_str, identity, identity_len); in eap_user_sqlite_get() 168 bin_clear_free(hapd->tmp_eap_user.identity, in eap_user_sqlite_get() 174 hapd->tmp_eap_user.identity = os_zalloc(identity_len + 1); in eap_user_sqlite_get() 175 if (hapd->tmp_eap_user.identity == NULL) in eap_user_sqlite_get() 177 os_memcpy(hapd->tmp_eap_user.identity, identity, identity_len); in eap_user_sqlite_get() 214 os_free(user->identity); in eap_user_sqlite_get() 215 user->identity = user->password; in eap_user_sqlite_get() 232 hostapd_get_eap_user(struct hostapd_data *hapd, const u8 *identity, in hostapd_get_eap_user() argument [all …]
|
D | ieee802_1x.c | 141 sta->identity, NULL); in ieee802_1x_alloc_eapol_sm() 302 const u8 *identity; in ieee802_1x_eapol_send() local 306 identity = eap_get_identity(sm->eap, &identity_len); in ieee802_1x_eapol_send() 307 if (identity && in ieee802_1x_eapol_send() 309 os_memcmp(identity, WSC_ID_ENROLLEE, in ieee802_1x_eapol_send() 312 os_memcmp(identity, WSC_ID_REGISTRAR, in ieee802_1x_eapol_send() 346 static int ieee802_1x_get_eap_user(void *ctx, const u8 *identity, 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 | 25 u8 *identity; member
|
D | hostapd.h | 169 hostapd_get_eap_user(struct hostapd_data *hapd, const u8 *identity,
|
D | sta_info.h | 51 char *identity; /* User-Name from RADIUS */ member
|
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/ |
D | eap.c | 354 const u8 *identity; in eap_sm_buildIdentity() local 364 (identity = sm->m->get_identity(sm, sm->eap_method_priv, in eap_sm_buildIdentity() 367 "identity", identity, identity_len); in eap_sm_buildIdentity() 369 identity = config->anonymous_identity; in eap_sm_buildIdentity() 372 identity, identity_len); in eap_sm_buildIdentity() 374 identity = config->identity; in eap_sm_buildIdentity() 377 identity, identity_len); in eap_sm_buildIdentity() 380 if (identity == NULL) { in eap_sm_buildIdentity() 386 identity = config->identity; in eap_sm_buildIdentity() 389 "IMSI", 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() 48 username = mschapv2_remove_domain(identity, &username_len); in mschapv2_derive_response()
|
D | eap_ttls.c | 423 const u8 *identity, *password; in eap_ttls_phase2_request_mschapv2() 429 identity = eap_get_config_identity(sm, &identity_len); in eap_ttls_phase2_request_mschapv2() 431 if (identity == NULL || password == NULL) 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() 527 const u8 *identity, *password; in eap_ttls_phase2_request_mschap() 533 identity = eap_get_config_identity(sm, &identity_len); in eap_ttls_phase2_request_mschap() 535 if (identity == NULL || password == NULL) in eap_ttls_phase2_request_mschap() 548 identity, identity_len); in eap_ttls_phase2_request_mschap() 611 const u8 *identity, *password; in eap_ttls_phase2_request_pap() local [all …]
|
D | eap_mschapv2.c | 140 const u8 *identity, *password; in eap_mschapv2_challenge_reply() local 145 identity = eap_get_config_identity(sm, &identity_len); in eap_mschapv2_challenge_reply() 147 if (identity == NULL || password == NULL) 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() 672 if (config->identity == NULL || in eap_mschapv2_check_config()
|
D | eap_config.h | 22 u8 *identity; member
|
/hal_espressif-latest/components/wpa_supplicant/src/eap_server/ |
D | eap_server_identity.c | 129 if (sm->identity) in eap_identity_process() 131 os_free(sm->identity); in eap_identity_process() 132 sm->identity = os_malloc(len ? len : 1); in eap_identity_process() 133 if (sm->identity == NULL) { in eap_identity_process() 136 os_memcpy(sm->identity, pos, len); in eap_identity_process()
|
D | eap_server_wsc.c | 67 if (sm->identity && sm->identity_len == WSC_ID_REGISTRAR_LEN && in eap_wsc_init() 68 os_memcmp(sm->identity, WSC_ID_REGISTRAR, WSC_ID_REGISTRAR_LEN) == in eap_wsc_init() 71 else if (sm->identity && sm->identity_len == WSC_ID_ENROLLEE_LEN && in eap_wsc_init() 72 os_memcmp(sm->identity, WSC_ID_ENROLLEE, WSC_ID_ENROLLEE_LEN) in eap_wsc_init() 77 sm->identity, sm->identity_len); in eap_wsc_init()
|
D | eap_i.h | 159 u8 *identity; member 197 int eap_user_get(struct eap_sm *sm, const u8 *identity, size_t identity_len,
|
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 176 if (sm->eapol_cb->get_eap_user(sm->eapol_ctx, identity, in eap_user_get() 227 if (sm->eap_if.eapRestart && !sm->cfg->eap_server && sm->identity) { in SM_STATE() 876 sm->identity = (u8 *) dup_binstr(parse.keyname, in SM_STATE() 878 if (!sm->identity) in SM_STATE() 1713 if (sm->identity == NULL || sm->currentId == -1) { in eap_sm_Policy_getNextMethod() 1735 if (!sm->cfg->eap_server && sm->identity && !sm->start_reauth) { in eap_sm_Policy_getDecision() 1756 if ((sm->user == NULL || sm->update_user) && sm->identity && in eap_sm_Policy_getDecision() 1769 if (eap_user_get(sm, sm->identity, sm->identity_len, 0) != 0) { in eap_sm_Policy_getDecision() 1796 if (!sm->identity && eap_get_erp_send_reauth_start(sm) && in eap_sm_Policy_getDecision() [all …]
|
D | eap.h | 101 int (*get_eap_user)(void *ctx, const u8 *identity, size_t identity_len,
|
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/ |
D | esp_wpa2_api_port.c | 19 esp_err_t esp_wifi_sta_wpa2_ent_set_identity(const unsigned char *identity, int len) in esp_wifi_sta_wpa2_ent_set_identity() argument 21 return esp_eap_client_set_identity(identity, len); in esp_wifi_sta_wpa2_ent_set_identity()
|
D | esp_hostpad_wps.c | 62 os_memcpy(sm->identity, WSC_ID_REGISTRAR, sm->identity_len); in wifi_ap_wps_init() 170 if (sm && os_memcmp(sm->identity, WSC_ID_ENROLLEE, sm->identity_len) == 0) { in wifi_ap_wps_enable_internal() 228 if (sm && os_memcmp(sm->identity, WSC_ID_ENROLLEE, sm->identity_len) == 0) { in wifi_ap_wps_disable_internal()
|
D | esp_wps_i.h | 67 char identity[32]; member
|
/hal_espressif-latest/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, 72 const char *identity, const char *radius_cui);
|
D | eapol_auth_sm.c | 773 const char *identity, const char *radius_cui) in eapol_auth_alloc() argument 840 if (identity) { in eapol_auth_alloc() 841 sm->identity = (u8 *) os_strdup(identity); in eapol_auth_alloc() 842 if (sm->identity) in eapol_auth_alloc() 843 sm->identity_len = os_strlen(identity); in eapol_auth_alloc() 874 os_free(sm->identity); in eapol_auth_free() 1012 static int eapol_sm_get_eap_user(void *ctx, const u8 *identity, in eapol_sm_get_eap_user() argument 1019 ret = sm->eapol->cb.get_eap_user(sm->eapol->conf.ctx, identity, in eapol_sm_get_eap_user()
|
D | eapol_auth_sm_i.h | 153 u8 *identity; member
|
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/include/ |
D | esp_eap_client.h | 95 esp_err_t esp_eap_client_set_identity(const unsigned char *identity, int len);
|
D | esp_wpa2.h | 62 esp_err_t esp_wifi_sta_wpa2_ent_set_identity(const unsigned char *identity, int len);
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/ |
D | cfg_cli.h | 232 uint8_t identity; member 287 uint16_t net_idx, uint8_t identity);
|
D | cfg_srv.h | 176 uint8_t identity; member
|