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.c976 if (ie->ftie == NULL) { in ft_validate_ftie()
985 if (assoc_resp_ftie[1] != ie->ftie[1] || in ft_validate_ftie()
986 os_memcmp(assoc_resp_ftie, ie->ftie, 2 + ie->ftie[1]) != 0) { in ft_validate_ftie()
989 ie->ftie, 2 + ie->ftie[1]); in ft_validate_ftie()
1039 const u8 *pos, *end, *mdie = NULL, *ftie = NULL; in wpa_supplicant_validate_ie_ft() local
1052 ftie = pos; in wpa_supplicant_validate_ie_ft()
1060 ft_validate_ftie(sm, src_addr, ie, ftie) < 0 || in wpa_supplicant_validate_ie_ft()
Dwpa_ie.c522 ie->ftie = pos; in wpa_supplicant_parse_ies()
525 ie->ftie, ie->ftie_len); in wpa_supplicant_parse_ies()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c639 u8 *end, *mdie, *ftie, *rsnie = NULL, *r0kh_id, *subelem = NULL; in wpa_sm_write_assoc_resp_ies() local
719 ftie = pos; in wpa_sm_write_assoc_resp_ies()
723 _ftie = (struct rsn_ftie *) (ftie + 2); in wpa_sm_write_assoc_resp_ies()
742 mdie, mdie_len, ftie, ftie_len, in wpa_sm_write_assoc_resp_ies()
751 os_memcpy(sm->assoc_resp_ftie, ftie, ftie_len); in wpa_sm_write_assoc_resp_ies()
803 struct rsn_ftie *ftie; in wpa_ft_process_auth_req() local
836 ftie = (struct rsn_ftie *) parse.ftie; in wpa_ft_process_auth_req()
837 if (ftie == NULL || parse.ftie_len < sizeof(*ftie)) { in wpa_ft_process_auth_req()
842 os_memcpy(sm->SNonce, ftie->snonce, WPA_NONCE_LEN); in wpa_ft_process_auth_req()
991 struct rsn_ftie *ftie; in wpa_ft_validate_reassoc() local
[all …]
Dwpa_auth_ie.h39 const u8 *ftie; member
Dwpa_auth.c761 if (!kde->mdie || !kde->ftie) { in ft_check_msg_2_of_4()
776 (kde->ftie[1] != sm->assoc_resp_ftie[1] || in ft_check_msg_2_of_4()
777 os_memcmp(kde->ftie, sm->assoc_resp_ftie, in ft_check_msg_2_of_4()
781 kde->ftie, kde->ftie_len); in ft_check_msg_2_of_4()
Dwpa_auth_ie.c916 ie->ftie = pos; in wpa_parse_kde_ies()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c212 const u8 *ftie, size_t ftie_len, in wpa_ft_mic() argument
249 if (ftie) { in wpa_ft_mic()
254 addr[num_elem] = ftie; in wpa_ft_mic()
265 addr[num_elem] = ftie + 2 + 2 + 16; in wpa_ft_mic()
289 parse->ftie = ie; in wpa_ft_parse_ftie()
348 const struct rsn_ftie *ftie; in wpa_ft_parse_ies() local
387 if (len < sizeof(*ftie)) in wpa_ft_parse_ies()
389 ftie = (const struct rsn_ftie *) pos; in wpa_ft_parse_ies()
390 prot_ie_count = ftie->mic_control[1]; in wpa_ft_parse_ies()
420 if (parse->ftie) in wpa_ft_parse_ies()
Dwpa_common.h348 const u8 *ftie, size_t ftie_len,
417 const u8 *ftie; member
Dieee802_11_common.h39 const u8 *ftie; member
Dieee802_11_common.c279 elems->ftie = pos; in ieee802_11_parse_elems()