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.c308 struct ft_remote_r0kh *r0kh; in wpa_ft_pull_pmk_r1() local
311 r0kh = sm->wpa_auth->conf.r0kh_list; in wpa_ft_pull_pmk_r1()
312 while (r0kh) { in wpa_ft_pull_pmk_r1()
313 if (r0kh->id_len == sm->r0kh_id_len && in wpa_ft_pull_pmk_r1()
314 os_memcmp_const(r0kh->id, sm->r0kh_id, sm->r0kh_id_len) == in wpa_ft_pull_pmk_r1()
317 r0kh = r0kh->next; in wpa_ft_pull_pmk_r1()
319 if (r0kh == NULL) { in wpa_ft_pull_pmk_r1()
326 "address " MACSTR, MAC2STR(r0kh->addr)); in wpa_ft_pull_pmk_r1()
348 if (aes_wrap(r0kh->key, sizeof(r0kh->key), in wpa_ft_pull_pmk_r1()
358 wpa_ft_rrb_send(sm->wpa_auth, r0kh->addr, (u8 *) &frame, sizeof(frame)); in wpa_ft_pull_pmk_r1()
[all …]
Dap_config.c470 struct ft_remote_r0kh *r0kh, *r0kh_prev; in hostapd_config_free_bss() local
473 r0kh = conf->r0kh_list; in hostapd_config_free_bss()
475 while (r0kh) { in hostapd_config_free_bss()
476 r0kh_prev = r0kh; in hostapd_config_free_bss()
477 r0kh = r0kh->next; in hostapd_config_free_bss()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c980 struct ft_remote_r0kh *r0kh; in add_r0kh() local
983 r0kh = os_zalloc(sizeof(*r0kh)); in add_r0kh()
984 if (r0kh == NULL) in add_r0kh()
992 if (next == NULL || hwaddr_aton(pos, r0kh->addr)) { in add_r0kh()
994 os_free(r0kh); in add_r0kh()
1004 os_free(r0kh); in add_r0kh()
1007 r0kh->id_len = next - pos - 1; in add_r0kh()
1008 os_memcpy(r0kh->id, pos, r0kh->id_len); in add_r0kh()
1011 if (hexstr2bin(pos, r0kh->key, sizeof(r0kh->key))) { in add_r0kh()
1013 os_free(r0kh); in add_r0kh()
[all …]