Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c111 if (ft.ftie) { in wpa_sm_set_ft_params()
112 os_memcpy(pos, ft.ftie - 2, ft.ftie_len + 2); in wpa_sm_set_ft_params()
151 struct rsn_ftie *ftie; in wpa_ft_gen_req_ies() local
256 ftie = (struct rsn_ftie *) pos; in wpa_ft_gen_req_ies()
257 pos += sizeof(*ftie); in wpa_ft_gen_req_ies()
258 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
260 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
294 ftie->mic_control[1] = 3 + ieee802_11_ie_count(ric_ies, in wpa_ft_gen_req_ies()
300 ric_ies_len, ftie->mic) < 0) { in wpa_ft_gen_req_ies()
377 struct rsn_ftie *ftie; in wpa_ft_process_response() local
[all …]
Dtdls.c457 const u8 *ftie, u8 *mic) in wpa_tdls_ftie_mic() argument
464 2 + timeoutie[1] + 2 + ftie[1]; in wpa_tdls_ftie_mic()
491 os_memcpy(pos, ftie, 2 + ftie[1]); in wpa_tdls_ftie_mic()
494 pos += 2 + ftie[1]; in wpa_tdls_ftie_mic()
519 const u8 *ftie, u8 *mic) in wpa_tdls_key_mic_teardown() argument
530 sizeof(trans_seq) + 2 + ftie[1]; in wpa_tdls_key_mic_teardown()
550 os_memcpy(pos, ftie, 2 + ftie[1]); in wpa_tdls_key_mic_teardown()
553 pos += 2 + ftie[1]; in wpa_tdls_key_mic_teardown()
567 const struct wpa_tdls_ftie *ftie) in wpa_supplicant_verify_tdls_mic() argument
573 peer->rsnie_p, timeoutie, (u8 *) ftie, in wpa_supplicant_verify_tdls_mic()
[all …]
Dwpa_ie.h40 const u8 *ftie; member
Dwpa_ie.c534 ie->ftie = pos; in wpa_supplicant_parse_ies()
537 ie->ftie, ie->ftie_len); in wpa_supplicant_parse_ies()
Dwpa.c1048 if (ie->ftie == NULL) { in ft_validate_ftie()
1057 if (assoc_resp_ftie[1] != ie->ftie[1] || in ft_validate_ftie()
1058 os_memcmp(assoc_resp_ftie, ie->ftie, 2 + ie->ftie[1]) != 0) { in ft_validate_ftie()
1061 ie->ftie, 2 + ie->ftie[1]); in ft_validate_ftie()
1111 const u8 *pos, *end, *mdie = NULL, *ftie = NULL; in wpa_supplicant_validate_ie_ft() local
1124 ftie = pos; in wpa_supplicant_validate_ie_ft()
1132 ft_validate_ftie(sm, src_addr, ie, ftie) < 0 || in wpa_supplicant_validate_ie_ft()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c656 u8 *end, *mdie, *ftie, *rsnie = NULL, *r0kh_id, *subelem = NULL; in wpa_sm_write_assoc_resp_ies() local
736 ftie = pos; in wpa_sm_write_assoc_resp_ies()
740 _ftie = (struct rsn_ftie *) (ftie + 2); in wpa_sm_write_assoc_resp_ies()
759 mdie, mdie_len, ftie, ftie_len, in wpa_sm_write_assoc_resp_ies()
768 os_memcpy(sm->assoc_resp_ftie, ftie, ftie_len); in wpa_sm_write_assoc_resp_ies()
903 struct rsn_ftie *ftie; in wpa_ft_process_auth_req() local
936 ftie = (struct rsn_ftie *) parse.ftie; in wpa_ft_process_auth_req()
937 if (ftie == NULL || parse.ftie_len < sizeof(*ftie)) { in wpa_ft_process_auth_req()
942 os_memcpy(sm->SNonce, ftie->snonce, WPA_NONCE_LEN); in wpa_ft_process_auth_req()
1093 struct rsn_ftie *ftie; in wpa_ft_validate_reassoc() local
[all …]
Dwpa_auth_ie.h39 const u8 *ftie; member
Dwpa_auth.c775 if (!kde->mdie || !kde->ftie) { in ft_check_msg_2_of_4()
790 (kde->ftie[1] != sm->assoc_resp_ftie[1] || in ft_check_msg_2_of_4()
791 os_memcmp(kde->ftie, sm->assoc_resp_ftie, in ft_check_msg_2_of_4()
795 kde->ftie, kde->ftie_len); in ft_check_msg_2_of_4()
Dwpa_auth_ie.c968 ie->ftie = pos; in wpa_parse_kde_ies()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c457 const u8 *ftie, size_t ftie_len, in wpa_ft_mic() argument
494 if (ftie) { in wpa_ft_mic()
499 addr[num_elem] = ftie; in wpa_ft_mic()
510 addr[num_elem] = ftie + 2 + 2 + 16; in wpa_ft_mic()
534 parse->ftie = ie; in wpa_ft_parse_ftie()
593 const struct rsn_ftie *ftie; in wpa_ft_parse_ies() local
634 if (len < sizeof(*ftie)) in wpa_ft_parse_ies()
636 ftie = (const struct rsn_ftie *) pos; in wpa_ft_parse_ies()
637 prot_ie_count = ftie->mic_control[1]; in wpa_ft_parse_ies()
667 if (parse->ftie) in wpa_ft_parse_ies()
Dwpa_common.h358 const u8 *ftie, size_t ftie_len,
427 const u8 *ftie; member
Dieee802_11_common.h39 const u8 *ftie; member
Dieee802_11_common.c363 elems->ftie = pos; in ieee802_11_parse_elems()