Home
last modified time | relevance | path

Searched refs:r0kh (Results 1 – 3 of 3) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c300 struct ft_remote_r0kh *r0kh; in wpa_ft_pull_pmk_r1() local
303 r0kh = wpa_auth->conf.r0kh_list; in wpa_ft_pull_pmk_r1()
304 while (r0kh) { in wpa_ft_pull_pmk_r1()
305 if (r0kh->id_len == r0kh_id_len && in wpa_ft_pull_pmk_r1()
306 os_memcmp(r0kh->id, r0kh_id, r0kh_id_len) == 0) in wpa_ft_pull_pmk_r1()
308 r0kh = r0kh->next; in wpa_ft_pull_pmk_r1()
310 if (r0kh == NULL) in wpa_ft_pull_pmk_r1()
314 "address " MACSTR, MAC2STR(r0kh->addr)); in wpa_ft_pull_pmk_r1()
334 if (aes_wrap(r0kh->key, (FT_R0KH_R1KH_PULL_DATA_LEN + 7) / 8, in wpa_ft_pull_pmk_r1()
338 wpa_ft_rrb_send(wpa_auth, r0kh->addr, (u8 *) &frame, sizeof(frame)); in wpa_ft_pull_pmk_r1()
[all …]
Dap_config.c462 struct ft_remote_r0kh *r0kh, *r0kh_prev; in hostapd_config_free_bss() local
465 r0kh = conf->r0kh_list; in hostapd_config_free_bss()
467 while (r0kh) { in hostapd_config_free_bss()
468 r0kh_prev = r0kh; in hostapd_config_free_bss()
469 r0kh = r0kh->next; in hostapd_config_free_bss()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c884 struct ft_remote_r0kh *r0kh; in add_r0kh() local
887 r0kh = os_zalloc(sizeof(*r0kh)); in add_r0kh()
888 if (r0kh == NULL) in add_r0kh()
896 if (next == NULL || hwaddr_aton(pos, r0kh->addr)) { in add_r0kh()
898 os_free(r0kh); in add_r0kh()
908 os_free(r0kh); in add_r0kh()
911 r0kh->id_len = next - pos - 1; in add_r0kh()
912 os_memcpy(r0kh->id, pos, r0kh->id_len); in add_r0kh()
915 if (hexstr2bin(pos, r0kh->key, sizeof(r0kh->key))) { in add_r0kh()
917 os_free(r0kh); in add_r0kh()
[all …]