Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa_ft.c65 sm->r1kh_id, sm->own_addr, sm->pmk_r1, in wpa_derive_ptk_ft()
107 os_memset(sm->r1kh_id, 0, FT_R1KH_ID_LEN); in wpa_sm_set_ft_params()
139 if (ft.r1kh_id) { in wpa_sm_set_ft_params()
141 ft.r1kh_id, FT_R1KH_ID_LEN); in wpa_sm_set_ft_params()
142 os_memcpy(sm->r1kh_id, ft.r1kh_id, FT_R1KH_ID_LEN); in wpa_sm_set_ft_params()
144 os_memset(sm->r1kh_id, 0, FT_R1KH_ID_LEN); in wpa_sm_set_ft_params()
357 os_memcpy(pos, sm->r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_gen_req_ies()
640 if (parse.r1kh_id == NULL) { in wpa_ft_process_response()
659 os_memcpy(sm->r1kh_id, parse.r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_process_response()
660 wpa_hexdump(MSG_DEBUG, "FT: R1KH-ID", sm->r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_process_response()
[all …]
Dwpa_i.h19 u8 r1kh_id[FT_R1KH_ID_LEN]; member
154 u8 r1kh_id[FT_R1KH_ID_LEN]; member
Dwpa.h454 int wpa_pasn_ft_derive_pmk_r1(struct wpa_sm *sm, int akmp, const u8 *r1kh_id,
504 int wpa_pasn_ft_derive_pmk_r1(struct wpa_sm *sm, int akmp, const u8 *r1kh_id, in wpa_pasn_ft_derive_pmk_r1() argument
Dwpa.c4281 if (!parse.r1kh_id) { in fils_process_auth()
4286 os_memcpy(sm->r1kh_id, parse.r1kh_id, FT_R1KH_ID_LEN); in fils_process_auth()
4288 sm->r1kh_id, FT_R1KH_ID_LEN); in fils_process_auth()
4552 MAC2STR(sm->r1kh_id)); in fils_ft_build_assoc_req_rsne()
4554 if (wpa_derive_pmk_r1_name(sm->pmk_r0_name, sm->r1kh_id, sm->own_addr, in fils_ft_build_assoc_req_rsne()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa_ft.c57 sm->r1kh_id, sm->own_addr, sm->pmk_r1, in wpa_derive_ptk_ft()
116 if (ft.r1kh_id) { in wpa_sm_set_ft_params()
118 ft.r1kh_id, FT_R1KH_ID_LEN); in wpa_sm_set_ft_params()
119 os_memcpy(sm->r1kh_id, ft.r1kh_id, FT_R1KH_ID_LEN); in wpa_sm_set_ft_params()
121 os_memset(sm->r1kh_id, 0, FT_R1KH_ID_LEN); in wpa_sm_set_ft_params()
331 os_memcpy(pos, sm->r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_gen_req_ies()
588 if (parse.r1kh_id == NULL) { in wpa_ft_process_response()
601 os_memcpy(sm->r1kh_id, parse.r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_process_response()
602 wpa_hexdump(MSG_DEBUG, "FT: R1KH-ID", sm->r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_process_response()
607 sm->r1kh_id, sm->own_addr, sm->pmk_r1, in wpa_ft_process_response()
[all …]
Dwpa_i.h128 u8 r1kh_id[FT_R1KH_ID_LEN]; member
Dwpa.c3789 if (!parse.r1kh_id) { in fils_process_auth()
3794 os_memcpy(sm->r1kh_id, parse.r1kh_id, FT_R1KH_ID_LEN); in fils_process_auth()
3796 sm->r1kh_id, FT_R1KH_ID_LEN); in fils_process_auth()
4054 MAC2STR(sm->r1kh_id)); in fils_ft_build_assoc_req_rsne()
4056 if (wpa_derive_pmk_r1_name(sm->pmk_r0_name, sm->r1kh_id, sm->own_addr, in fils_ft_build_assoc_req_rsne()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.h381 int wpa_derive_pmk_r1_name(const u8 *pmk_r0_name, const u8 *r1kh_id,
385 const u8 *r1kh_id, const u8 *s1kh_id,
449 const u8 *r1kh_id; member
Dwpa_common.c879 parse->r1kh_id = pos; in wpa_ft_parse_ftie()
1612 int wpa_derive_pmk_r1_name(const u8 *pmk_r0_name, const u8 *r1kh_id, in wpa_derive_pmk_r1_name() argument
1627 addr[2] = r1kh_id; in wpa_derive_pmk_r1_name()
1650 const u8 *r1kh_id, const u8 *s1kh_id, in wpa_derive_pmk_r1() argument
1660 wpa_hexdump(MSG_DEBUG, "FT: R1KH-ID", r1kh_id, FT_R1KH_ID_LEN); in wpa_derive_pmk_r1()
1663 os_memcpy(pos, r1kh_id, FT_R1KH_ID_LEN); in wpa_derive_pmk_r1()
1685 return wpa_derive_pmk_r1_name(pmk_r0_name, r1kh_id, s1kh_id, in wpa_derive_pmk_r1()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_common.h424 int wpa_derive_pmk_r1_name(const u8 *pmk_r0_name, const u8 *r1kh_id,
428 const u8 *r1kh_id, const u8 *s1kh_id,
493 const u8 *r1kh_id; member
Dwpa_common.c952 parse->r1kh_id = pos; in wpa_ft_parse_ftie()
1953 int wpa_derive_pmk_r1_name(const u8 *pmk_r0_name, const u8 *r1kh_id, in wpa_derive_pmk_r1_name() argument
1968 addr[2] = r1kh_id; in wpa_derive_pmk_r1_name()
1992 const u8 *r1kh_id, const u8 *s1kh_id, in wpa_derive_pmk_r1() argument
2002 wpa_hexdump(MSG_DEBUG, "FT: R1KH-ID", r1kh_id, FT_R1KH_ID_LEN); in wpa_derive_pmk_r1()
2005 os_memcpy(pos, r1kh_id, FT_R1KH_ID_LEN); in wpa_derive_pmk_r1()
2027 return wpa_derive_pmk_r1_name(pmk_r0_name, r1kh_id, s1kh_id, in wpa_derive_pmk_r1()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_ft.c1766 const u8 *src_addr, const u8 *r1kh_id, int timeout) in wpa_ft_rrb_add_r1kh() argument
1778 os_memcpy(r1kh->id, r1kh_id, sizeof(r1kh->id)); in wpa_ft_rrb_add_r1kh()
3430 if (parse.r1kh_id == NULL) { in wpa_ft_validate_reassoc()
3435 if (os_memcmp_const(parse.r1kh_id, conf->r1_key_holder, in wpa_ft_validate_reassoc()
3440 parse.r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_validate_reassoc()
3733 const u8 *r1kh_id, const u8 *s1kh_id, in wpa_ft_rrb_build_r0() argument
3769 pmk_r0->pmk_r0_name, r1kh_id, in wpa_ft_rrb_build_r0()
3833 RRB_GET_AUTH(FT_RRB_R1KH_ID, r1kh_id, msgtype, FT_R1KH_ID_LEN); in wpa_ft_rrb_rx_pull()
3995 RRB_GET_AUTH(FT_RRB_R1KH_ID, r1kh_id, msgtype, FT_R1KH_ID_LEN); in wpa_ft_rrb_rx_r1()
4282 RRB_GET_AUTH(FT_RRB_R1KH_ID, r1kh_id, "seq", FT_R1KH_ID_LEN); in wpa_ft_rrb_rx_seq()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ft.c1764 const u8 *src_addr, const u8 *r1kh_id, int timeout) in wpa_ft_rrb_add_r1kh() argument
1776 os_memcpy(r1kh->id, r1kh_id, sizeof(r1kh->id)); in wpa_ft_rrb_add_r1kh()
3229 if (parse.r1kh_id == NULL) { in wpa_ft_validate_reassoc()
3234 if (os_memcmp_const(parse.r1kh_id, sm->wpa_auth->conf.r1_key_holder, in wpa_ft_validate_reassoc()
3239 parse.r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_validate_reassoc()
3506 const u8 *r1kh_id, const u8 *s1kh_id, in wpa_ft_rrb_build_r0() argument
3541 pmk_r0->pmk_r0_name, r1kh_id, in wpa_ft_rrb_build_r0()
3609 RRB_GET_AUTH(FT_RRB_R1KH_ID, r1kh_id, msgtype, FT_R1KH_ID_LEN); in wpa_ft_rrb_rx_pull()
3767 RRB_GET_AUTH(FT_RRB_R1KH_ID, r1kh_id, msgtype, FT_R1KH_ID_LEN); in wpa_ft_rrb_rx_r1()
4054 RRB_GET_AUTH(FT_RRB_R1KH_ID, r1kh_id, "seq", FT_R1KH_ID_LEN); in wpa_ft_rrb_rx_seq()
[all …]