Lines Matching refs:igtk
973 const struct wpa_igtk_kde *igtk, in wpa_supplicant_install_igtk() argument
977 u16 keyidx = WPA_GET_LE16(igtk->keyid); in wpa_supplicant_install_igtk()
980 if ((sm->igtk.igtk_len == len && in wpa_supplicant_install_igtk()
981 os_memcmp(sm->igtk.igtk, igtk->igtk, sm->igtk.igtk_len) == 0) || in wpa_supplicant_install_igtk()
983 os_memcmp(sm->igtk_wnm_sleep.igtk, igtk->igtk, in wpa_supplicant_install_igtk()
993 keyidx, MAC2STR(igtk->pn)); in wpa_supplicant_install_igtk()
994 wpa_hexdump_key(MSG_DEBUG, "WPA: IGTK", igtk->igtk, len); in wpa_supplicant_install_igtk()
1002 keyidx, 0, igtk->pn, sizeof(igtk->pn), in wpa_supplicant_install_igtk()
1003 igtk->igtk, len) < 0) { in wpa_supplicant_install_igtk()
1011 os_memcpy(sm->igtk_wnm_sleep.igtk, igtk->igtk, in wpa_supplicant_install_igtk()
1014 sm->igtk.igtk_len = len; in wpa_supplicant_install_igtk()
1015 os_memcpy(sm->igtk.igtk, igtk->igtk, sm->igtk.igtk_len); in wpa_supplicant_install_igtk()
1030 if (ie->igtk) { in ieee80211w_set_keys()
1032 const struct wpa_igtk_kde *igtk; in ieee80211w_set_keys() local
1038 igtk = (const struct wpa_igtk_kde *) ie->igtk; in ieee80211w_set_keys()
1039 if (wpa_supplicant_install_igtk(sm, igtk, 0) < 0) in ieee80211w_set_keys()
1358 if (ie.igtk && !(key_info & WPA_KEY_INFO_ENCR_KEY_DATA)) { in wpa_supplicant_process_3_of_4()
1364 if (ie.igtk && in wpa_supplicant_process_3_of_4()
2569 os_memset(&sm->igtk, 0, sizeof(sm->igtk)); in wpa_sm_notify_assoc()
3158 os_memset(&sm->igtk, 0, sizeof(sm->igtk)); in wpa_sm_drop_sa()
3233 const struct wpa_igtk_kde *igtk; in wpa_wnmsleep_install_key() local
3235 igtk = (const struct wpa_igtk_kde *) (buf + 2); in wpa_wnmsleep_install_key()
3236 if (wpa_supplicant_install_igtk(sm, igtk, 1) < 0) in wpa_wnmsleep_install_key()