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.c482 struct ft_remote_r0kh *r0kh, *r0kh_prev; in hostapd_config_free_bss() local
485 r0kh = conf->r0kh_list; in hostapd_config_free_bss()
487 while (r0kh) { in hostapd_config_free_bss()
488 r0kh_prev = r0kh; in hostapd_config_free_bss()
489 r0kh = r0kh->next; in hostapd_config_free_bss()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c985 struct ft_remote_r0kh *r0kh; in add_r0kh() local
988 r0kh = os_zalloc(sizeof(*r0kh)); in add_r0kh()
989 if (r0kh == NULL) in add_r0kh()
997 if (next == NULL || hwaddr_aton(pos, r0kh->addr)) { in add_r0kh()
999 os_free(r0kh); in add_r0kh()
1009 os_free(r0kh); in add_r0kh()
1012 r0kh->id_len = next - pos - 1; in add_r0kh()
1013 os_memcpy(r0kh->id, pos, r0kh->id_len); in add_r0kh()
1016 if (hexstr2bin(pos, r0kh->key, sizeof(r0kh->key))) { in add_r0kh()
1018 os_free(r0kh); in add_r0kh()
[all …]