/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
D | wpa_ft.c | 131 if (ft.ftie) { in wpa_sm_set_ft_params() 132 os_memcpy(pos, ft.ftie - 2, ft.ftie_len + 2); in wpa_sm_set_ft_params() 307 struct rsn_ftie_sha384 *ftie; in wpa_ft_gen_req_ies() local 309 ftie = (struct rsn_ftie_sha384 *) pos; in wpa_ft_gen_req_ies() 310 fte_mic = ftie->mic; in wpa_ft_gen_req_ies() 311 elem_count = &ftie->mic_control[1]; in wpa_ft_gen_req_ies() 312 pos += sizeof(*ftie); in wpa_ft_gen_req_ies() 313 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 315 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 317 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 | 1227 if (ie->ftie == NULL) { in ft_validate_ftie() 1236 if (assoc_resp_ftie[1] != ie->ftie[1] || in ft_validate_ftie() 1237 os_memcmp(assoc_resp_ftie, ie->ftie, 2 + ie->ftie[1]) != 0) { in ft_validate_ftie() 1240 ie->ftie, 2 + ie->ftie[1]); in ft_validate_ftie() 1290 const u8 *pos, *end, *mdie = NULL, *ftie = NULL; in wpa_supplicant_validate_ie_ft() local 1303 ftie = pos; in wpa_supplicant_validate_ie_ft() 1311 ft_validate_ftie(sm, src_addr, ie, ftie) < 0 || in wpa_supplicant_validate_ie_ft() 3768 if (!elems.mdie || !elems.ftie) { in fils_process_auth() 3807 wpabuf_put_data(sm->fils_ft_ies, elems.ftie - 2, in fils_process_auth()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/ |
D | wpa_ft.c | 154 if (ft.ftie) { in wpa_sm_set_ft_params() 155 os_memcpy(pos, ft.ftie - 2, ft.ftie_len + 2); in wpa_sm_set_ft_params() 331 struct rsn_ftie_sha384 *ftie; in wpa_ft_gen_req_ies() local 333 ftie = (struct rsn_ftie_sha384 *) pos; in wpa_ft_gen_req_ies() 334 ftie->mic_control[0] = !!rsnxe_used; in wpa_ft_gen_req_ies() 335 fte_mic = ftie->mic; in wpa_ft_gen_req_ies() 336 elem_count = &ftie->mic_control[1]; in wpa_ft_gen_req_ies() 337 pos += sizeof(*ftie); in wpa_ft_gen_req_ies() 338 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 340 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() [all …]
|
D | tdls.c | 477 const u8 *ftie, u8 *mic) in wpa_tdls_ftie_mic() argument 484 2 + timeoutie[1] + 2 + ftie[1]; in wpa_tdls_ftie_mic() 511 os_memcpy(pos, ftie, 2 + ftie[1]); in wpa_tdls_ftie_mic() 514 pos += 2 + ftie[1]; in wpa_tdls_ftie_mic() 539 const u8 *ftie, u8 *mic) in wpa_tdls_key_mic_teardown() argument 550 sizeof(trans_seq) + 2 + ftie[1]; in wpa_tdls_key_mic_teardown() 570 os_memcpy(pos, ftie, 2 + ftie[1]); in wpa_tdls_key_mic_teardown() 573 pos += 2 + ftie[1]; in wpa_tdls_key_mic_teardown() 587 const struct wpa_tdls_ftie *ftie) in wpa_supplicant_verify_tdls_mic() argument 593 peer->rsnie_p, timeoutie, (u8 *) ftie, in wpa_supplicant_verify_tdls_mic() [all …]
|
D | wpa.c | 1433 if (ie->ftie == NULL) { in ft_validate_ftie() 1442 if (assoc_resp_ftie[1] != ie->ftie[1] || in ft_validate_ftie() 1443 os_memcmp(assoc_resp_ftie, ie->ftie, 2 + ie->ftie[1]) != 0) { in ft_validate_ftie() 1446 ie->ftie, 2 + ie->ftie[1]); in ft_validate_ftie() 1496 const u8 *pos, *end, *mdie = NULL, *ftie = NULL; in wpa_supplicant_validate_ie_ft() local 1509 ftie = pos; in wpa_supplicant_validate_ie_ft() 1517 ft_validate_ftie(sm, src_addr, ie, ftie) < 0 || in wpa_supplicant_validate_ie_ft() 4260 if (!elems.mdie || !elems.ftie) { in fils_process_auth() 4299 wpabuf_put_data(sm->fils_ft_ies, elems.ftie - 2, in fils_process_auth()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | wpa_auth_ft.c | 2510 u8 *end, *mdie, *ftie, *rsnie = NULL, *r0kh_id, *subelem = NULL; in wpa_sm_write_assoc_resp_ies() local 2713 ftie = pos; in wpa_sm_write_assoc_resp_ies() 2719 (struct rsn_ftie_sha384 *) (ftie + 2); in wpa_sm_write_assoc_resp_ies() 2724 struct rsn_ftie *_ftie = (struct rsn_ftie *) (ftie + 2); in wpa_sm_write_assoc_resp_ies() 2775 mdie, mdie_len, ftie, ftie_len, in wpa_sm_write_assoc_resp_ies() 2788 os_memcpy(sm->assoc_resp_ftie, ftie, ftie_len); in wpa_sm_write_assoc_resp_ies() 3097 struct rsn_ftie_sha384 *ftie; in wpa_ft_process_auth_req() local 3099 ftie = (struct rsn_ftie_sha384 *) parse.ftie; in wpa_ft_process_auth_req() 3100 if (!ftie || parse.ftie_len < sizeof(*ftie)) { in wpa_ft_process_auth_req() 3105 os_memcpy(sm->SNonce, ftie->snonce, WPA_NONCE_LEN); in wpa_ft_process_auth_req() [all …]
|
D | wpa_auth.c | 877 if (!kde->mdie || !kde->ftie) { in ft_check_msg_2_of_4() 893 (kde->ftie[1] != sm->assoc_resp_ftie[1] || in ft_check_msg_2_of_4() 894 os_memcmp(kde->ftie, sm->assoc_resp_ftie, in ft_check_msg_2_of_4() 898 kde->ftie, kde->ftie_len); in ft_check_msg_2_of_4()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | wpa_auth_ft.c | 2420 u8 *end, *mdie, *ftie, *rsnie = NULL, *r0kh_id, *subelem = NULL; in wpa_sm_write_assoc_resp_ies() local 2555 ftie = pos; in wpa_sm_write_assoc_resp_ies() 2561 (struct rsn_ftie_sha384 *) (ftie + 2); in wpa_sm_write_assoc_resp_ies() 2566 struct rsn_ftie *_ftie = (struct rsn_ftie *) (ftie + 2); in wpa_sm_write_assoc_resp_ies() 2596 mdie, mdie_len, ftie, ftie_len, in wpa_sm_write_assoc_resp_ies() 2608 os_memcpy(sm->assoc_resp_ftie, ftie, ftie_len); in wpa_sm_write_assoc_resp_ies() 2906 struct rsn_ftie_sha384 *ftie; in wpa_ft_process_auth_req() local 2908 ftie = (struct rsn_ftie_sha384 *) parse.ftie; in wpa_ft_process_auth_req() 2909 if (!ftie || parse.ftie_len < sizeof(*ftie)) { in wpa_ft_process_auth_req() 2914 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 | 816 if (!kde->mdie || !kde->ftie) { in ft_check_msg_2_of_4() 831 (kde->ftie[1] != sm->assoc_resp_ftie[1] || in ft_check_msg_2_of_4() 832 os_memcmp(kde->ftie, sm->assoc_resp_ftie, in ft_check_msg_2_of_4() 836 kde->ftie, kde->ftie_len); in ft_check_msg_2_of_4()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 | 387 elems->ftie = pos; in ieee802_11_parse_elems()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | wpa_common.c | 822 const u8 *ftie, size_t ftie_len, in wpa_ft_mic() argument 870 if (ftie) { in wpa_ft_mic() 875 addr[num_elem] = ftie; in wpa_ft_mic() 886 addr[num_elem] = ftie + 2 + 2 + mic_len; in wpa_ft_mic() 926 parse->ftie = ie; in wpa_ft_parse_ftie() 1000 const struct rsn_ftie *ftie; in wpa_ft_parse_ies() local 1089 if (len < sizeof(*ftie)) in wpa_ft_parse_ies() 1091 ftie = (const struct rsn_ftie *) pos; in wpa_ft_parse_ies() 1093 ftie->mic_control, 2); in wpa_ft_parse_ies() 1095 ftie->mic, sizeof(ftie->mic)); in wpa_ft_parse_ies() [all …]
|
D | wpa_common.h | 414 const u8 *ftie, size_t ftie_len, 491 const u8 *ftie; member 574 const u8 *ftie; member
|
D | ieee802_11_common.h | 65 const u8 *ftie; member
|
D | ieee802_11_common.c | 450 elems->ftie = pos; in ieee802_11_parse_elems()
|