/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_ft.c | 122 if (ft.ftie) { in wpa_sm_set_ft_params() 123 os_memcpy(pos, ft.ftie - 2, ft.ftie_len + 2); in wpa_sm_set_ft_params() 298 struct rsn_ftie_sha384 *ftie; in wpa_ft_gen_req_ies() local 300 ftie = (struct rsn_ftie_sha384 *) pos; in wpa_ft_gen_req_ies() 301 fte_mic = ftie->mic; in wpa_ft_gen_req_ies() 302 elem_count = &ftie->mic_control[1]; in wpa_ft_gen_req_ies() 303 pos += sizeof(*ftie); in wpa_ft_gen_req_ies() 304 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 306 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 308 struct rsn_ftie *ftie; in wpa_ft_gen_req_ies() local [all …]
|
D | tdls.c | 473 const u8 *ftie, u8 *mic) in wpa_tdls_ftie_mic() argument 480 2 + timeoutie[1] + 2 + ftie[1]; in wpa_tdls_ftie_mic() 507 os_memcpy(pos, ftie, 2 + ftie[1]); in wpa_tdls_ftie_mic() 510 pos += 2 + ftie[1]; in wpa_tdls_ftie_mic() 535 const u8 *ftie, u8 *mic) in wpa_tdls_key_mic_teardown() argument 546 sizeof(trans_seq) + 2 + ftie[1]; in wpa_tdls_key_mic_teardown() 566 os_memcpy(pos, ftie, 2 + ftie[1]); in wpa_tdls_key_mic_teardown() 569 pos += 2 + ftie[1]; in wpa_tdls_key_mic_teardown() 583 const struct wpa_tdls_ftie *ftie) in wpa_supplicant_verify_tdls_mic() argument 589 peer->rsnie_p, timeoutie, (u8 *) ftie, in wpa_supplicant_verify_tdls_mic() [all …]
|
D | wpa_ie.h | 30 const u8 *ftie; member
|
D | wpa_ie.c | 525 ie->ftie = pos; in wpa_supplicant_parse_ies() 528 ie->ftie, ie->ftie_len); in wpa_supplicant_parse_ies()
|
D | wpa.c | 1201 if (ie->ftie == NULL) { in ft_validate_ftie() 1210 if (assoc_resp_ftie[1] != ie->ftie[1] || in ft_validate_ftie() 1211 os_memcmp(assoc_resp_ftie, ie->ftie, 2 + ie->ftie[1]) != 0) { in ft_validate_ftie() 1214 ie->ftie, 2 + ie->ftie[1]); in ft_validate_ftie() 1264 const u8 *pos, *end, *mdie = NULL, *ftie = NULL; in wpa_supplicant_validate_ie_ft() local 1277 ftie = pos; in wpa_supplicant_validate_ie_ft() 1285 ft_validate_ftie(sm, src_addr, ie, ftie) < 0 || in wpa_supplicant_validate_ie_ft() 3738 if (!elems.mdie || !elems.ftie) { in fils_process_auth() 3777 wpabuf_put_data(sm->fils_ft_ies, elems.ftie - 2, in fils_process_auth()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ft.c | 2411 u8 *end, *mdie, *ftie, *rsnie = NULL, *r0kh_id, *subelem = NULL; in wpa_sm_write_assoc_resp_ies() local 2546 ftie = pos; in wpa_sm_write_assoc_resp_ies() 2552 (struct rsn_ftie_sha384 *) (ftie + 2); in wpa_sm_write_assoc_resp_ies() 2557 struct rsn_ftie *_ftie = (struct rsn_ftie *) (ftie + 2); in wpa_sm_write_assoc_resp_ies() 2587 mdie, mdie_len, ftie, ftie_len, in wpa_sm_write_assoc_resp_ies() 2599 os_memcpy(sm->assoc_resp_ftie, ftie, ftie_len); in wpa_sm_write_assoc_resp_ies() 2897 struct rsn_ftie_sha384 *ftie; in wpa_ft_process_auth_req() local 2899 ftie = (struct rsn_ftie_sha384 *) parse.ftie; in wpa_ft_process_auth_req() 2900 if (!ftie || parse.ftie_len < sizeof(*ftie)) { in wpa_ft_process_auth_req() 2905 os_memcpy(sm->SNonce, ftie->snonce, WPA_NONCE_LEN); in wpa_ft_process_auth_req() [all …]
|
D | wpa_auth_ie.h | 29 const u8 *ftie; member
|
D | wpa_auth_ie.c | 1104 ie->ftie = pos; in wpa_parse_kde_ies()
|
D | wpa_auth.c | 797 if (!kde->mdie || !kde->ftie) { in ft_check_msg_2_of_4() 812 (kde->ftie[1] != sm->assoc_resp_ftie[1] || in ft_check_msg_2_of_4() 813 os_memcmp(kde->ftie, sm->assoc_resp_ftie, in ft_check_msg_2_of_4() 817 kde->ftie, kde->ftie_len); in ft_check_msg_2_of_4()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.c | 757 const u8 *ftie, size_t ftie_len, in wpa_ft_mic() argument 803 if (ftie) { in wpa_ft_mic() 808 addr[num_elem] = ftie; in wpa_ft_mic() 819 addr[num_elem] = ftie + 2 + 2 + mic_len; in wpa_ft_mic() 853 parse->ftie = ie; in wpa_ft_parse_ftie() 925 const struct rsn_ftie *ftie; in wpa_ft_parse_ies() local 1004 if (len < sizeof(*ftie)) in wpa_ft_parse_ies() 1006 ftie = (const struct rsn_ftie *) pos; in wpa_ft_parse_ies() 1008 ftie->mic_control, 2); in wpa_ft_parse_ies() 1010 ftie->mic, sizeof(ftie->mic)); in wpa_ft_parse_ies() [all …]
|
D | wpa_common.h | 373 const u8 *ftie, size_t ftie_len, 447 const u8 *ftie; member
|
D | ieee802_11_common.h | 48 const u8 *ftie; member
|
D | ieee802_11_common.c | 383 elems->ftie = pos; in ieee802_11_parse_elems()
|