Home
last modified time | relevance | path

Searched refs:ftie (Results 1 – 9 of 9) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c139 if (ft.ftie) { in wpa_sm_set_ft_params()
140 os_memcpy(pos, ft.ftie - 2, ft.ftie_len + 2); in wpa_sm_set_ft_params()
316 struct rsn_ftie_sha384 *ftie; in wpa_ft_gen_req_ies() local
318 ftie = (struct rsn_ftie_sha384 *) pos; in wpa_ft_gen_req_ies()
319 ftie->mic_control[0] = !!rsnxe_used; in wpa_ft_gen_req_ies()
320 fte_mic = ftie->mic; in wpa_ft_gen_req_ies()
321 elem_count = &ftie->mic_control[1]; in wpa_ft_gen_req_ies()
322 pos += sizeof(*ftie); in wpa_ft_gen_req_ies()
323 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
325 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
[all …]
Dtdls.c474 const u8 *ftie, u8 *mic) in wpa_tdls_ftie_mic() argument
481 2 + timeoutie[1] + 2 + ftie[1]; in wpa_tdls_ftie_mic()
508 os_memcpy(pos, ftie, 2 + ftie[1]); in wpa_tdls_ftie_mic()
511 pos += 2 + ftie[1]; in wpa_tdls_ftie_mic()
536 const u8 *ftie, u8 *mic) in wpa_tdls_key_mic_teardown() argument
547 sizeof(trans_seq) + 2 + ftie[1]; in wpa_tdls_key_mic_teardown()
567 os_memcpy(pos, ftie, 2 + ftie[1]); in wpa_tdls_key_mic_teardown()
570 pos += 2 + ftie[1]; in wpa_tdls_key_mic_teardown()
584 const struct wpa_tdls_ftie *ftie) in wpa_supplicant_verify_tdls_mic() argument
590 peer->rsnie_p, timeoutie, (u8 *) ftie, in wpa_supplicant_verify_tdls_mic()
[all …]
Dwpa.c1407 if (ie->ftie == NULL) { in ft_validate_ftie()
1416 if (assoc_resp_ftie[1] != ie->ftie[1] || in ft_validate_ftie()
1417 os_memcmp(assoc_resp_ftie, ie->ftie, 2 + ie->ftie[1]) != 0) { in ft_validate_ftie()
1420 ie->ftie, 2 + ie->ftie[1]); in ft_validate_ftie()
1470 const u8 *pos, *end, *mdie = NULL, *ftie = NULL; in wpa_supplicant_validate_ie_ft() local
1483 ftie = pos; in wpa_supplicant_validate_ie_ft()
1491 ft_validate_ftie(sm, src_addr, ie, ftie) < 0 || in wpa_supplicant_validate_ie_ft()
4150 if (!elems.mdie || !elems.ftie) { in fils_process_auth()
4189 wpabuf_put_data(sm->fils_ft_ies, elems.ftie - 2, in fils_process_auth()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c2469 u8 *end, *mdie, *ftie, *rsnie = NULL, *r0kh_id, *subelem = NULL; in wpa_sm_write_assoc_resp_ies() local
2663 ftie = pos; in wpa_sm_write_assoc_resp_ies()
2669 (struct rsn_ftie_sha384 *) (ftie + 2); in wpa_sm_write_assoc_resp_ies()
2674 struct rsn_ftie *_ftie = (struct rsn_ftie *) (ftie + 2); in wpa_sm_write_assoc_resp_ies()
2725 mdie, mdie_len, ftie, ftie_len, in wpa_sm_write_assoc_resp_ies()
2738 os_memcpy(sm->assoc_resp_ftie, ftie, ftie_len); in wpa_sm_write_assoc_resp_ies()
3049 struct rsn_ftie_sha384 *ftie; in wpa_ft_process_auth_req() local
3051 ftie = (struct rsn_ftie_sha384 *) parse.ftie; in wpa_ft_process_auth_req()
3052 if (!ftie || parse.ftie_len < sizeof(*ftie)) { in wpa_ft_process_auth_req()
3057 os_memcpy(sm->SNonce, ftie->snonce, WPA_NONCE_LEN); in wpa_ft_process_auth_req()
[all …]
Dwpa_auth.c853 if (!kde->mdie || !kde->ftie) { in ft_check_msg_2_of_4()
869 (kde->ftie[1] != sm->assoc_resp_ftie[1] || in ft_check_msg_2_of_4()
870 os_memcmp(kde->ftie, sm->assoc_resp_ftie, in ft_check_msg_2_of_4()
874 kde->ftie, kde->ftie_len); in ft_check_msg_2_of_4()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c781 const u8 *ftie, size_t ftie_len, in wpa_ft_mic() argument
829 if (ftie) { in wpa_ft_mic()
834 addr[num_elem] = ftie; in wpa_ft_mic()
845 addr[num_elem] = ftie + 2 + 2 + mic_len; in wpa_ft_mic()
885 parse->ftie = ie; in wpa_ft_parse_ftie()
959 const struct rsn_ftie *ftie; in wpa_ft_parse_ies() local
1048 if (len < sizeof(*ftie)) in wpa_ft_parse_ies()
1050 ftie = (const struct rsn_ftie *) pos; in wpa_ft_parse_ies()
1052 ftie->mic_control, 2); in wpa_ft_parse_ies()
1054 ftie->mic, sizeof(ftie->mic)); in wpa_ft_parse_ies()
[all …]
Dwpa_common.h403 const u8 *ftie, size_t ftie_len,
479 const u8 *ftie; member
530 const u8 *ftie; member
Dieee802_11_common.h65 const u8 *ftie; member
Dieee802_11_common.c446 elems->ftie = pos; in ieee802_11_parse_elems()