Home
last modified time | relevance | path

Searched refs:ftie (Results 1 - 22 of 22) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
H A Dwpa_ft.c131 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
539 struct rsn_ftie_sha384 *ftie; wpa_ft_process_response() local
550 struct rsn_ftie *ftie; wpa_ft_process_response() local
881 struct rsn_ftie_sha384 *ftie; wpa_ft_validate_reassoc_resp() local
894 struct rsn_ftie *ftie; wpa_ft_validate_reassoc_resp() local
[all...]
H A Dtdls.c466 * @ftie: Pointer to the beginning of FT IE
473 const u8 *ftie, u8 *mic) in wpa_tdls_ftie_mic()
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()
528 * @ftie: Pointer to the beginning of FT IE
535 const u8 *ftie, u8 *mic) in wpa_tdls_key_mic_teardown()
546 sizeof(trans_seq) + 2 + ftie[1]; in wpa_tdls_key_mic_teardown()
566 os_memcpy(pos, ftie, in wpa_tdls_key_mic_teardown()
471 wpa_tdls_ftie_mic(const u8 *kck, u8 trans_seq, const u8 *lnkid, const u8 *rsnie, const u8 *timeoutie, const u8 *ftie, u8 *mic) wpa_tdls_ftie_mic() argument
533 wpa_tdls_key_mic_teardown(const u8 *kck, u8 trans_seq, u16 rcode, u8 dtoken, const u8 *lnkid, const u8 *ftie, u8 *mic) wpa_tdls_key_mic_teardown() argument
580 wpa_supplicant_verify_tdls_mic(u8 trans_seq, struct wpa_tdls_peer *peer, const u8 *lnkid, const u8 *timeoutie, const struct wpa_tdls_ftie *ftie) wpa_supplicant_verify_tdls_mic() argument
609 wpa_supplicant_verify_tdls_mic_teardown( u8 trans_seq, u16 rcode, u8 dtoken, struct wpa_tdls_peer *peer, const u8 *lnkid, const struct wpa_tdls_ftie *ftie) wpa_supplicant_verify_tdls_mic_teardown() argument
751 struct wpa_tdls_ftie *ftie; wpa_tdls_send_teardown() local
936 struct wpa_tdls_ftie *ftie; wpa_tdls_recv_teardown() local
1068 struct wpa_tdls_ftie *ftie; wpa_tdls_send_tpk_m1() local
1252 struct wpa_tdls_ftie *ftie; wpa_tdls_send_tpk_m2() local
1341 struct wpa_tdls_ftie *ftie; wpa_tdls_send_tpk_m3() local
1793 struct wpa_tdls_ftie *ftie = NULL; wpa_tdls_process_tpk_m1() local
2188 struct wpa_tdls_ftie *ftie; wpa_tdls_process_tpk_m2() local
2475 struct wpa_tdls_ftie *ftie; wpa_tdls_process_tpk_m3() local
[all...]
H A Dwpa_ie.h30 const u8 *ftie; member
H A Dwpa_ie.c525 ie->ftie = pos; in wpa_supplicant_parse_ies()
528 ie->ftie, ie->ftie_len); in wpa_supplicant_parse_ies()
H A Dwpa.c1227 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()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
H A Dwpa_ft.c158 if (ft.ftie) { in wpa_sm_set_ft_params()
159 os_memcpy(pos, ft.ftie - 2, ft.ftie_len + 2); in wpa_sm_set_ft_params()
335 struct rsn_ftie_sha384 *ftie; in wpa_ft_gen_req_ies() local
337 ftie = (struct rsn_ftie_sha384 *) pos; in wpa_ft_gen_req_ies()
338 ftie->mic_control[0] = !!rsnxe_used; in wpa_ft_gen_req_ies()
339 fte_mic = ftie->mic; in wpa_ft_gen_req_ies()
340 elem_count = &ftie->mic_control[1]; in wpa_ft_gen_req_ies()
341 pos += sizeof(*ftie); in wpa_ft_gen_req_ies()
342 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
344 os_memcpy(ftie in wpa_ft_gen_req_ies()
346 struct rsn_ftie *ftie; wpa_ft_gen_req_ies() local
[all...]
H A Dtdls.c478 * @ftie: Pointer to the beginning of FT IE
485 const u8 *ftie, u8 *mic)
492 2 + timeoutie[1] + 2 + ftie[1];
519 os_memcpy(pos, ftie, 2 + ftie[1]);
522 pos += 2 + ftie[1];
540 * @ftie: Pointer to the beginning of FT IE
547 const u8 *ftie, u8 *mic)
558 sizeof(trans_seq) + 2 + ftie[1];
578 os_memcpy(pos, ftie,
[all...]
H A Dwpa.c1930 if (ie->ftie == NULL) {
1939 if (assoc_resp_ftie[1] != ie->ftie[1] ||
1940 os_memcmp(assoc_resp_ftie, ie->ftie, 2 + ie->ftie[1]) != 0) {
1943 ie->ftie, 2 + ie->ftie[1]);
1993 const u8 *pos, *end, *mdie = NULL, *ftie = NULL;
2006 ftie = pos;
2014 ft_validate_ftie(sm, src_addr, ie, ftie) < 0 ||
5470 if (!elems.mdie || !elems.ftie) {
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwpa_auth_ft.c2510 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 || pars in wpa_ft_process_auth_req()
3107 struct rsn_ftie *ftie; wpa_ft_process_auth_req() local
3365 struct rsn_ftie_sha384 *ftie; wpa_ft_validate_reassoc() local
3379 struct rsn_ftie *ftie; wpa_ft_validate_reassoc() local
[all...]
H A Dwpa_auth.c894 if (!kde->mdie || !kde->ftie) { in ft_check_msg_2_of_4()
910 (kde->ftie[1] != sm->assoc_resp_ftie[1] || in ft_check_msg_2_of_4()
911 os_memcmp(kde->ftie, sm->assoc_resp_ftie, in ft_check_msg_2_of_4()
915 kde->ftie, kde->ftie_len); in ft_check_msg_2_of_4()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwpa_auth_ft.c2420 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 || pars in wpa_ft_process_auth_req()
2916 struct rsn_ftie *ftie; wpa_ft_process_auth_req() local
3166 struct rsn_ftie_sha384 *ftie; wpa_ft_validate_reassoc() local
3179 struct rsn_ftie *ftie; wpa_ft_validate_reassoc() local
[all...]
H A Dwpa_auth_ie.h29 const u8 *ftie; member
H A Dwpa_auth.c816 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()
H A Dwpa_auth_ie.c1104 ie->ftie = pos; in wpa_parse_kde_ies()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Dwpa_common.c757 const u8 *ftie, size_t ftie_len, in wpa_ft_mic()
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 in wpa_ft_parse_ies()
754 wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, const u8 *ap_addr, u8 transaction_seqnum, const u8 *mdie, size_t mdie_len, const u8 *ftie, size_t ftie_len, const u8 *rsnie, size_t rsnie_len, const u8 *ric, size_t ric_len, u8 *mic) wpa_ft_mic() argument
[all...]
H A Dwpa_common.h373 const u8 *ftie, size_t ftie_len,
447 const u8 *ftie; member
H A Dieee802_11_common.h48 const u8 *ftie; member
H A Dieee802_11_common.c387 elems->ftie = pos; in ieee802_11_parse_elems()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dwpa_common.c888 const u8 *ftie, size_t ftie_len, in wpa_ft_mic()
936 if (ftie) { in wpa_ft_mic()
941 addr[num_elem] = ftie; in wpa_ft_mic()
952 addr[num_elem] = ftie + 2 + 2 + mic_len; in wpa_ft_mic()
992 parse->ftie = ie; in wpa_ft_parse_ftie()
1066 const struct rsn_ftie *ftie; in wpa_ft_parse_ies() local
1155 if (len < sizeof(*ftie)) in wpa_ft_parse_ies()
1157 ftie = (const struct rsn_ftie *) pos; in wpa_ft_parse_ies()
1159 ftie->mic_control, 2); in wpa_ft_parse_ies()
1161 ftie in wpa_ft_parse_ies()
885 wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, const u8 *ap_addr, u8 transaction_seqnum, const u8 *mdie, size_t mdie_len, const u8 *ftie, size_t ftie_len, const u8 *rsnie, size_t rsnie_len, const u8 *ric, size_t ric_len, const u8 *rsnxe, size_t rsnxe_len, u8 *mic) wpa_ft_mic() argument
[all...]
H A Dwpa_common.h467 const u8 *ftie, size_t ftie_len,
544 const u8 *ftie; member
627 const u8 *ftie; member
H A Dieee802_11_common.h74 const u8 *ftie; member
H A Dieee802_11_common.c573 elems->ftie = pos; in ieee802_11_parse_elems()

Completed in 50 milliseconds