Lines Matching refs:eap_user
54 struct eap_user *user) in hostapd_radius_get_eap_user()
56 const struct hostapd_eap_user *eap_user; in hostapd_radius_get_eap_user() local
59 eap_user = hostapd_get_eap_user(ctx, identity, identity_len, phase2); in hostapd_radius_get_eap_user()
60 if (eap_user == NULL) in hostapd_radius_get_eap_user()
68 user->methods[i].vendor = eap_user->methods[i].vendor; in hostapd_radius_get_eap_user()
69 user->methods[i].method = eap_user->methods[i].method; in hostapd_radius_get_eap_user()
72 if (eap_user->password) { in hostapd_radius_get_eap_user()
73 user->password = os_malloc(eap_user->password_len); in hostapd_radius_get_eap_user()
76 os_memcpy(user->password, eap_user->password, in hostapd_radius_get_eap_user()
77 eap_user->password_len); in hostapd_radius_get_eap_user()
78 user->password_len = eap_user->password_len; in hostapd_radius_get_eap_user()
79 user->password_hash = eap_user->password_hash; in hostapd_radius_get_eap_user()
81 user->force_version = eap_user->force_version; in hostapd_radius_get_eap_user()
82 user->ttls_auth = eap_user->ttls_auth; in hostapd_radius_get_eap_user()