Home
last modified time | relevance | path

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

/NextBSD/contrib/wpa/src/ap/
HDwpa_auth_ft.c373 const u8 *r1kh = sm->wpa_auth->conf.r1_key_holder; in wpa_auth_derive_ptk_ft() local
390 wpa_derive_pmk_r1(pmk_r0, pmk_r0_name, r1kh, sm->addr, in wpa_auth_derive_ptk_ft()
1316 struct ft_remote_r1kh *r1kh; in wpa_ft_rrb_rx_pull() local
1326 r1kh = wpa_auth->conf.r1kh_list; in wpa_ft_rrb_rx_pull()
1327 while (r1kh) { in wpa_ft_rrb_rx_pull()
1328 if (os_memcmp(r1kh->addr, src_addr, ETH_ALEN) == 0) in wpa_ft_rrb_rx_pull()
1330 r1kh = r1kh->next; in wpa_ft_rrb_rx_pull()
1332 if (r1kh == NULL) { in wpa_ft_rrb_rx_pull()
1344 if (aes_unwrap(r1kh->key, sizeof(r1kh->key), in wpa_ft_rrb_rx_pull()
1385 if (aes_wrap(r1kh->key, sizeof(r1kh->key), in wpa_ft_rrb_rx_pull()
[all …]
HDap_config.c472 struct ft_remote_r1kh *r1kh, *r1kh_prev; in hostapd_config_free_bss() local
482 r1kh = conf->r1kh_list; in hostapd_config_free_bss()
484 while (r1kh) { in hostapd_config_free_bss()
485 r1kh_prev = r1kh; in hostapd_config_free_bss()
486 r1kh = r1kh->next; in hostapd_config_free_bss()
/NextBSD/contrib/wpa/hostapd/
HDconfig_file.c1026 struct ft_remote_r1kh *r1kh; in add_r1kh() local
1029 r1kh = os_zalloc(sizeof(*r1kh)); in add_r1kh()
1030 if (r1kh == NULL) in add_r1kh()
1039 if (next == NULL || hwaddr_aton(pos, r1kh->addr)) { in add_r1kh()
1041 os_free(r1kh); in add_r1kh()
1049 if (next == NULL || hwaddr_aton(pos, r1kh->id)) { in add_r1kh()
1051 os_free(r1kh); in add_r1kh()
1056 if (hexstr2bin(pos, r1kh->key, sizeof(r1kh->key))) { in add_r1kh()
1058 os_free(r1kh); in add_r1kh()
1062 r1kh->next = bss->r1kh_list; in add_r1kh()
[all …]