Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c339 const u8 *r1kh = sm->wpa_auth->conf.r1_key_holder; in wpa_auth_derive_ptk_ft() local
357 wpa_derive_pmk_r1(pmk_r0, pmk_r0_name, r1kh, sm->addr, in wpa_auth_derive_ptk_ft()
1209 struct ft_remote_r1kh *r1kh; in wpa_ft_rrb_rx_pull() local
1219 r1kh = wpa_auth->conf.r1kh_list; in wpa_ft_rrb_rx_pull()
1220 while (r1kh) { in wpa_ft_rrb_rx_pull()
1221 if (os_memcmp(r1kh->addr, src_addr, ETH_ALEN) == 0) in wpa_ft_rrb_rx_pull()
1223 r1kh = r1kh->next; in wpa_ft_rrb_rx_pull()
1225 if (r1kh == NULL) { in wpa_ft_rrb_rx_pull()
1235 if (aes_unwrap(r1kh->key, (FT_R0KH_R1KH_PULL_DATA_LEN + 7) / 8, in wpa_ft_rrb_rx_pull()
1274 if (aes_wrap(r1kh->key, (FT_R0KH_R1KH_RESP_DATA_LEN + 7) / 8, in wpa_ft_rrb_rx_pull()
[all …]
Dap_config.c428 struct ft_remote_r1kh *r1kh, *r1kh_prev; in hostapd_config_free_bss() local
438 r1kh = conf->r1kh_list; in hostapd_config_free_bss()
440 while (r1kh) { in hostapd_config_free_bss()
441 r1kh_prev = r1kh; in hostapd_config_free_bss()
442 r1kh = r1kh->next; in hostapd_config_free_bss()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c935 struct ft_remote_r1kh *r1kh; in add_r1kh() local
938 r1kh = os_zalloc(sizeof(*r1kh)); in add_r1kh()
939 if (r1kh == NULL) in add_r1kh()
948 if (next == NULL || hwaddr_aton(pos, r1kh->addr)) { in add_r1kh()
950 os_free(r1kh); in add_r1kh()
958 if (next == NULL || hwaddr_aton(pos, r1kh->id)) { in add_r1kh()
960 os_free(r1kh); in add_r1kh()
965 if (hexstr2bin(pos, r1kh->key, sizeof(r1kh->key))) { in add_r1kh()
967 os_free(r1kh); in add_r1kh()
971 r1kh->next = bss->r1kh_list; in add_r1kh()
[all …]