Lines Matching defs:ftie
116 if (ft.ftie) {
117 os_memcpy(pos, ft.ftie - 2, ft.ftie_len + 2);
154 struct rsn_ftie *ftie;
261 ftie = (struct rsn_ftie *) pos;
262 pos += sizeof(*ftie);
263 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN);
265 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN);
299 ftie->mic_control[1] = 3 + ieee802_11_ie_count(ric_ies,
305 ric_ies_len, ftie->mic) < 0) {
382 struct rsn_ftie *ftie;
424 ftie = (struct rsn_ftie *) parse.ftie;
425 if (ftie == NULL || parse.ftie_len < sizeof(*ftie)) {
430 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) {
433 ftie->snonce, WPA_NONCE_LEN);
472 wpa_hexdump(MSG_DEBUG, "FT: ANonce", ftie->anonce, WPA_NONCE_LEN);
473 os_memcpy(sm->anonce, ftie->anonce, WPA_NONCE_LEN);
482 wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, ftie->anonce, sm->own_addr,
489 ft_ies = wpa_ft_gen_req_ies(sm, &ft_ies_len, ftie->anonce,
678 struct rsn_ftie *ftie;
703 ftie = (struct rsn_ftie *) parse.ftie;
704 if (ftie == NULL || parse.ftie_len < sizeof(*ftie)) {
709 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) {
712 ftie->snonce, WPA_NONCE_LEN);
718 if (os_memcmp(ftie->anonce, sm->anonce, WPA_NONCE_LEN) != 0) {
721 ftie->anonce, WPA_NONCE_LEN);
766 if (ftie->mic_control[1] != count) {
769 ftie->mic_control[1], count);
775 parse.ftie - 2, parse.ftie_len + 2,
783 if (os_memcmp_const(mic, ftie->mic, 16) != 0) {
785 wpa_hexdump(MSG_MSGDUMP, "FT: Received MIC", ftie->mic, 16);