Searched refs:r1kh (Results 1 – 4 of 4) sorted by relevance
1606 static int wpa_ft_rrb_init_r1kh_seq(struct ft_remote_r1kh *r1kh) in wpa_ft_rrb_init_r1kh_seq() argument1608 if (r1kh->seq) in wpa_ft_rrb_init_r1kh_seq()1611 r1kh->seq = os_zalloc(sizeof(*r1kh->seq)); in wpa_ft_rrb_init_r1kh_seq()1612 if (!r1kh->seq) { in wpa_ft_rrb_init_r1kh_seq()1617 dl_list_init(&r1kh->seq->rx.queue); in wpa_ft_rrb_init_r1kh_seq()1628 struct ft_remote_r1kh *r1kh; in wpa_ft_rrb_lookup_r1kh() local1634 r1kh = *wpa_auth->conf.r1kh_list; in wpa_ft_rrb_lookup_r1kh()1636 r1kh = NULL; in wpa_ft_rrb_lookup_r1kh()1637 for (; r1kh; r1kh = r1kh->next) { in wpa_ft_rrb_lookup_r1kh()1638 if (is_zero_ether_addr(r1kh->addr) && in wpa_ft_rrb_lookup_r1kh()[all …]
716 struct ft_remote_r1kh *r1kh, *r1kh_prev; in hostapd_config_clear_rxkhs() local726 r1kh = conf->r1kh_list; in hostapd_config_clear_rxkhs()728 while (r1kh) { in hostapd_config_clear_rxkhs()729 r1kh_prev = r1kh; in hostapd_config_clear_rxkhs()730 r1kh = r1kh->next; in hostapd_config_clear_rxkhs()
982 struct ft_remote_r1kh *r1kh; in add_r1kh() local985 r1kh = os_zalloc(sizeof(*r1kh)); in add_r1kh()986 if (r1kh == NULL) in add_r1kh()995 if (next == NULL || hwaddr_aton(pos, r1kh->addr)) { in add_r1kh()997 os_free(r1kh); in add_r1kh()1005 if (next == NULL || hwaddr_aton(pos, r1kh->id)) { in add_r1kh()1007 os_free(r1kh); in add_r1kh()1012 if (rkh_derive_key(pos, r1kh->key, sizeof(r1kh->key)) < 0) { in add_r1kh()1014 os_free(r1kh); in add_r1kh()1018 r1kh->next = bss->r1kh_list; in add_r1kh()[all …]
1485 struct ft_remote_r1kh *r1kh; in hostapd_ctrl_iface_get_rxkhs() local1511 for (r1kh = conf->r1kh_list; r1kh; r1kh=r1kh->next) { in hostapd_ctrl_iface_get_rxkhs()1514 MAC2STR(r1kh->addr), MAC2STR(r1kh->id)); in hostapd_ctrl_iface_get_rxkhs()1518 pos += wpa_snprintf_hex(pos, end - pos, r1kh->key, in hostapd_ctrl_iface_get_rxkhs()1519 sizeof(r1kh->key)); in hostapd_ctrl_iface_get_rxkhs()