Home
last modified time | relevance | path

Searched refs:igtk (Results 1 – 10 of 10) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c801 if (ie->igtk) { in ieee80211w_set_keys()
803 const struct wpa_igtk_kde *igtk; in ieee80211w_set_keys() local
808 igtk = (const struct wpa_igtk_kde *) ie->igtk; in ieee80211w_set_keys()
809 keyidx = WPA_GET_LE16(igtk->keyid); in ieee80211w_set_keys()
812 keyidx, MAC2STR(igtk->pn)); in ieee80211w_set_keys()
814 igtk->igtk, len); in ieee80211w_set_keys()
822 keyidx, 0, igtk->pn, sizeof(igtk->pn), in ieee80211w_set_keys()
823 igtk->igtk, len) < 0) { in ieee80211w_set_keys()
1148 if (ie.igtk && !(key_info & WPA_KEY_INFO_ENCR_KEY_DATA)) { in wpa_supplicant_process_3_of_4()
1154 if (ie.igtk && in wpa_supplicant_process_3_of_4()
[all …]
Dwpa_ft.c619 u8 igtk[WPA_IGTK_LEN]; in wpa_ft_process_igtk_subelem() local
645 igtk_elem + 9, igtk)) { in wpa_ft_process_igtk_subelem()
655 wpa_hexdump_key(MSG_DEBUG, "FT: IGTK from Reassoc Resp", igtk, in wpa_ft_process_igtk_subelem()
658 igtk_elem + 2, 6, igtk, WPA_IGTK_LEN) < 0) { in wpa_ft_process_igtk_subelem()
790 if (wpa_ft_process_igtk_subelem(sm, parse.igtk, parse.igtk_len) < 0) in wpa_ft_validate_reassoc_resp()
Dwpa_ie.h35 const u8 *igtk; member
Dwpa_ie.c449 ie->igtk = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ie.h33 const u8 *igtk; member
Dwpa_auth.c2113 struct wpa_igtk_kde igtk; in ieee80211w_kde_add() local
2121 igtk.keyid[0] = gsm->GN_igtk; in ieee80211w_kde_add()
2122 igtk.keyid[1] = 0; in ieee80211w_kde_add()
2125 os_memset(igtk.pn, 0, sizeof(igtk.pn)); in ieee80211w_kde_add()
2127 os_memcpy(igtk.pn, rsc, sizeof(igtk.pn)); in ieee80211w_kde_add()
2128 os_memcpy(igtk.igtk, gsm->IGTK[gsm->GN_igtk - 4], len); in ieee80211w_kde_add()
2134 if (random_get_bytes(igtk.igtk, len) < 0) in ieee80211w_kde_add()
2138 (const u8 *) &igtk, WPA_IGTK_KDE_PREFIX_LEN + len, in ieee80211w_kde_add()
Dwpa_auth_ft.c688 u8 *igtk; in wpa_sm_write_assoc_resp_ies() local
691 igtk = wpa_ft_igtk_subelem(sm, &igtk_len); in wpa_sm_write_assoc_resp_ies()
692 if (igtk == NULL) { in wpa_sm_write_assoc_resp_ies()
699 os_free(igtk); in wpa_sm_write_assoc_resp_ies()
703 os_memcpy(subelem + subelem_len, igtk, igtk_len); in wpa_sm_write_assoc_resp_ies()
705 os_free(igtk); in wpa_sm_write_assoc_resp_ies()
Dwpa_auth_ie.c830 ie->igtk = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h298 u8 igtk[WPA_IGTK_MAX_LEN]; member
427 const u8 *igtk; member
Dwpa_common.c314 parse->igtk = pos + 2; in wpa_ft_parse_ftie()