/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | tdls.c | 607 const struct wpa_tdls_ftie *ftie, in wpa_supplicant_verify_tdls_mic() argument 615 (const u8 *) ftie, fte_len, mic); in wpa_supplicant_verify_tdls_mic() 616 if (os_memcmp_const(mic, ftie->mic, 16) != 0) { in wpa_supplicant_verify_tdls_mic() 620 ftie->mic, 16); in wpa_supplicant_verify_tdls_mic() 636 const u8 *lnkid, const struct wpa_tdls_ftie *ftie, size_t fte_len) in wpa_supplicant_verify_tdls_mic_teardown() argument 642 dtoken, lnkid, (const u8 *) ftie, in wpa_supplicant_verify_tdls_mic_teardown() 644 if (os_memcmp_const(mic, ftie->mic, 16) != 0) { in wpa_supplicant_verify_tdls_mic_teardown() 785 struct wpa_tdls_ftie *ftie; in wpa_tdls_send_teardown() local 821 ielen += sizeof(*ftie); in wpa_tdls_send_teardown() 836 ftie = (struct wpa_tdls_ftie *) pos; in wpa_tdls_send_teardown() [all …]
|
H A D | wpa_ft.c | 174 if (ft.ftie) { in wpa_sm_set_ft_params() 175 os_memcpy(pos, ft.ftie - 2, ft.ftie_len + 2); in wpa_sm_set_ft_params() 358 struct rsn_ftie_sha512 *ftie; in wpa_ft_gen_req_ies() local 360 ftie = (struct rsn_ftie_sha512 *) pos; in wpa_ft_gen_req_ies() 362 ftie->mic_control[0] = mic_control; in wpa_ft_gen_req_ies() 363 fte_mic = ftie->mic; in wpa_ft_gen_req_ies() 364 elem_count = &ftie->mic_control[1]; in wpa_ft_gen_req_ies() 365 pos += sizeof(*ftie); in wpa_ft_gen_req_ies() 366 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 368 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() [all …]
|
H A D | wpa.c | 2034 if (ie->ftie == NULL) { in ft_validate_ftie() 2043 if (assoc_resp_ftie[1] != ie->ftie[1] || in ft_validate_ftie() 2044 os_memcmp(assoc_resp_ftie, ie->ftie, 2 + ie->ftie[1]) != 0) { in ft_validate_ftie() 2047 ie->ftie, 2 + ie->ftie[1]); in ft_validate_ftie() 2097 const u8 *pos, *end, *mdie = NULL, *ftie = NULL; in wpa_supplicant_validate_ie_ft() local 2110 ftie = pos; in wpa_supplicant_validate_ie_ft() 2118 ft_validate_ftie(sm, src_addr, ie, ftie) < 0 || in wpa_supplicant_validate_ie_ft() 5654 if (!elems.mdie || !elems.ftie) { in fils_process_auth() 5693 wpabuf_put_data(sm->fils_ft_ies, elems.ftie - 2, in fils_process_auth()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | wpa_auth_ft.c | 2563 u8 *end, *mdie, *ftie, *rsnie = NULL, *r0kh_id, *subelem = NULL; in wpa_sm_write_assoc_resp_ies() local 2779 ftie = pos; in wpa_sm_write_assoc_resp_ies() 2786 (struct rsn_ftie_sha512 *) (ftie + 2); in wpa_sm_write_assoc_resp_ies() 2794 (struct rsn_ftie_sha384 *) (ftie + 2); in wpa_sm_write_assoc_resp_ies() 2799 struct rsn_ftie *_ftie = (struct rsn_ftie *) (ftie + 2); in wpa_sm_write_assoc_resp_ies() 2853 mdie, mdie_len, ftie, ftie_len, in wpa_sm_write_assoc_resp_ies() 2870 os_memcpy(sm->assoc_resp_ftie, ftie, ftie_len); in wpa_sm_write_assoc_resp_ies() 3211 if (!parse.ftie || parse.ftie_len < sizeof(struct rsn_ftie)) { in wpa_ft_process_auth_req() 3326 const struct rsn_ftie_sha512 *ftie; in wpa_ft_process_auth_req() local 3328 ftie = (const struct rsn_ftie_sha512 *) parse.ftie; in wpa_ft_process_auth_req() [all …]
|
H A D | wpa_auth.c | 1229 if (!kde->mdie || !kde->ftie) { 1245 (kde->ftie[1] != sm->assoc_resp_ftie[1] || 1246 os_memcmp(kde->ftie, sm->assoc_resp_ftie, 1250 kde->ftie, kde->ftie_len);
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_common.h | 489 const u8 *ftie, size_t ftie_len, 568 const u8 *ftie; member 666 const u8 *ftie; member
|
H A D | wpa_common.c | 897 const u8 *ftie, size_t ftie_len, in wpa_ft_mic() argument 951 if (ftie) { in wpa_ft_mic() 956 addr[num_elem] = ftie; in wpa_ft_mic() 967 addr[num_elem] = ftie + 2 + 2 + mic_len; in wpa_ft_mic() 1342 parse->ftie = fte; in wpa_ft_parse_ies() 1374 if (parse->ftie) in wpa_ft_parse_ies() 3673 ie->ftie = pos; in wpa_parse_kde_ies() 3676 ie->ftie, ie->ftie_len); in wpa_parse_kde_ies()
|
H A D | ieee802_11_common.h | 55 const u8 *ftie; member
|
H A D | ieee802_11_common.c | 506 elems->ftie = pos; in __ieee802_11_parse_elems() 757 elems->ftie = NULL; in ieee802_11_elems_clear_ids()
|