Home
last modified time | relevance | path

Searched refs:r1kh_id (Results 1 – 6 of 6) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c40 wpa_derive_pmk_r1(sm->pmk_r0, sm->pmk_r0_name, sm->r1kh_id, in wpa_derive_ptk_ft()
96 if (ft.r1kh_id) { in wpa_sm_set_ft_params()
98 ft.r1kh_id, FT_R1KH_ID_LEN); in wpa_sm_set_ft_params()
99 os_memcpy(sm->r1kh_id, ft.r1kh_id, FT_R1KH_ID_LEN); in wpa_sm_set_ft_params()
101 os_memset(sm->r1kh_id, 0, FT_R1KH_ID_LEN); in wpa_sm_set_ft_params()
272 os_memcpy(pos, sm->r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_gen_req_ies()
458 if (parse.r1kh_id == NULL) { in wpa_ft_process_response()
471 os_memcpy(sm->r1kh_id, parse.r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_process_response()
472 wpa_hexdump(MSG_DEBUG, "FT: R1KH-ID", sm->r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_process_response()
476 wpa_derive_pmk_r1(sm->pmk_r0, sm->pmk_r0_name, sm->r1kh_id, in wpa_ft_process_response()
[all …]
Dwpa_i.h124 u8 r1kh_id[FT_R1KH_ID_LEN]; member
Dwpa.c3557 if (!parse.r1kh_id) { in fils_process_auth()
3562 os_memcpy(sm->r1kh_id, parse.r1kh_id, FT_R1KH_ID_LEN); in fils_process_auth()
3564 sm->r1kh_id, FT_R1KH_ID_LEN); in fils_process_auth()
3816 MAC2STR(sm->r1kh_id)); in fils_ft_build_assoc_req_rsne()
3818 if (wpa_derive_pmk_r1_name(sm->pmk_r0_name, sm->r1kh_id, sm->own_addr, in fils_ft_build_assoc_req_rsne()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h365 int wpa_derive_pmk_r1_name(const u8 *pmk_r0_name, const u8 *r1kh_id,
368 const u8 *r1kh_id, const u8 *s1kh_id,
429 const u8 *r1kh_id; member
Dwpa_common.c720 parse->r1kh_id = pos; in wpa_ft_parse_ftie()
1337 int wpa_derive_pmk_r1_name(const u8 *pmk_r0_name, const u8 *r1kh_id, in wpa_derive_pmk_r1_name() argument
1352 addr[2] = r1kh_id; in wpa_derive_pmk_r1_name()
1370 const u8 *r1kh_id, const u8 *s1kh_id, in wpa_derive_pmk_r1() argument
1378 os_memcpy(pos, r1kh_id, FT_R1KH_ID_LEN); in wpa_derive_pmk_r1()
1387 return wpa_derive_pmk_r1_name(pmk_r0_name, r1kh_id, s1kh_id, in wpa_derive_pmk_r1()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c1235 const u8 *src_addr, const u8 *r1kh_id, int timeout) in wpa_ft_rrb_add_r1kh() argument
1247 os_memcpy(r1kh->id, r1kh_id, sizeof(r1kh->id)); in wpa_ft_rrb_add_r1kh()
2333 if (parse.r1kh_id == NULL) { in wpa_ft_validate_reassoc()
2338 if (os_memcmp_const(parse.r1kh_id, sm->wpa_auth->conf.r1_key_holder, in wpa_ft_validate_reassoc()
2343 parse.r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_validate_reassoc()
2577 const u8 *r1kh_id, const u8 *s1kh_id, in wpa_ft_rrb_build_r0() argument
2600 if (wpa_derive_pmk_r1(pmk_r0->pmk_r0, pmk_r0->pmk_r0_name, r1kh_id, in wpa_ft_rrb_build_r0()
2648 RRB_GET_AUTH(FT_RRB_R1KH_ID, r1kh_id, msgtype, FT_R1KH_ID_LEN); in wpa_ft_rrb_rx_pull()
2791 RRB_GET_AUTH(FT_RRB_R1KH_ID, r1kh_id, msgtype, FT_R1KH_ID_LEN); in wpa_ft_rrb_rx_r1()
3036 RRB_GET_AUTH(FT_RRB_R1KH_ID, r1kh_id, "seq", FT_R1KH_ID_LEN); in wpa_ft_rrb_rx_seq()
[all …]