Lines Matching refs:parse
849 struct wpa_ft_ies *parse, int use_sha384)
853 parse->ftie = ie;
854 parse->ftie_len = ie_len;
879 parse->r1kh_id = pos;
882 parse->gtk = pos;
883 parse->gtk_len = len;
892 parse->r0kh_id = pos;
893 parse->r0kh_id_len = len;
897 parse->igtk = pos;
898 parse->igtk_len = len;
903 parse->oci = pos;
904 parse->oci_len = len;
920 struct wpa_ft_ies *parse, int use_sha384)
934 os_memset(parse, 0, sizeof(*parse));
951 parse->rsn = pos;
952 parse->rsn_len = len;
953 ret = wpa_parse_wpa_ie_rsn(parse->rsn - 2,
954 parse->rsn_len + 2,
957 wpa_printf(MSG_DEBUG, "FT: Failed to parse "
962 parse->rsn_pmkid = data.pmkid;
963 parse->key_mgmt = data.key_mgmt;
964 parse->pairwise_cipher = data.pairwise_cipher;
967 wpa_key_mgmt_sha384(parse->key_mgmt);
975 parse->mdie = pos;
976 parse->mdie_len = len;
999 if (wpa_ft_parse_ftie(pos, len, parse, 1) < 0)
1016 if (wpa_ft_parse_ftie(pos, len, parse, 0) < 0)
1024 parse->tie = pos;
1025 parse->tie_len = len;
1028 if (parse->ric == NULL)
1029 parse->ric = pos - 2;
1043 if (parse->rsn)
1045 if (parse->mdie)
1047 if (parse->ftie)
1055 if (prot_ie_count == 0 && parse->ric) {
1062 if (parse->ric) {
1063 pos = parse->ric;
1069 parse->ric_len = pos - parse->ric;
2174 wpa_printf(MSG_ERROR, "FT: Could not parse RSN IE in "