Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c973 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()
[all …]
Dwpa_ft.c624 u8 igtk[WPA_IGTK_LEN]; in wpa_ft_process_igtk_subelem() local
650 igtk_elem + 9, igtk)) { in wpa_ft_process_igtk_subelem()
660 wpa_hexdump_key(MSG_DEBUG, "FT: IGTK from Reassoc Resp", igtk, in wpa_ft_process_igtk_subelem()
663 igtk_elem + 2, 6, igtk, WPA_IGTK_LEN) < 0) { in wpa_ft_process_igtk_subelem()
802 if (wpa_ft_process_igtk_subelem(sm, parse.igtk, parse.igtk_len) < 0) in wpa_ft_validate_reassoc_resp()
Dwpa_ie.h25 const u8 *igtk; member
Dwpa_i.h35 struct wpa_igtk igtk; member
Dwpa_ie.c431 ie->igtk = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh_rsn.c187 if (random_get_bytes(rsn->igtk, rsn->igtk_len) < 0) in __mesh_rsn_auth_init()
193 rsn->igtk, rsn->igtk_len); in __mesh_rsn_auth_init()
197 seq, sizeof(seq), rsn->igtk, rsn->igtk_len); in __mesh_rsn_auth_init()
216 os_memset(rsn->igtk, 0, sizeof(rsn->igtk)); in mesh_rsn_deinit()
593 os_memcpy(pos, rsn->igtk, rsn->igtk_len); in mesh_rsn_protect_frame()
779 os_memcpy(sta->igtk, pos, key_len); in mesh_rsn_process_ampe()
782 sta->igtk, sta->igtk_len); in mesh_rsn_process_ampe()
Dmesh_rsn.h22 u8 igtk[WPA_TK_MAX_LEN]; member
Dmesh_mpm.c838 sta->igtk, sta->igtk_len); in mesh_mpm_plink_estab()
844 sta->igtk, sta->igtk_len); in mesh_mpm_plink_estab()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h226 u8 igtk[WPA_IGTK_MAX_LEN]; member
294 u8 igtk[WPA_IGTK_MAX_LEN]; member
439 const u8 *igtk; member
Dwpa_common.c738 parse->igtk = pos; in wpa_ft_parse_ftie()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ie.h23 const u8 *igtk; member
Dwpa_auth.c2803 struct wpa_igtk_kde igtk; in ieee80211w_kde_add() local
2811 igtk.keyid[0] = gsm->GN_igtk; in ieee80211w_kde_add()
2812 igtk.keyid[1] = 0; in ieee80211w_kde_add()
2815 os_memset(igtk.pn, 0, sizeof(igtk.pn)); in ieee80211w_kde_add()
2817 os_memcpy(igtk.pn, rsc, sizeof(igtk.pn)); in ieee80211w_kde_add()
2818 os_memcpy(igtk.igtk, gsm->IGTK[gsm->GN_igtk - 4], len); in ieee80211w_kde_add()
2824 if (random_get_bytes(igtk.igtk, len) < 0) in ieee80211w_kde_add()
2828 (const u8 *) &igtk, WPA_IGTK_KDE_PREFIX_LEN + len, in ieee80211w_kde_add()
Dsta_info.h98 u8 igtk[WPA_TK_MAX_LEN]; member
Dwpa_auth_ft.c1845 u8 *igtk; in wpa_sm_write_assoc_resp_ies() local
1848 igtk = wpa_ft_igtk_subelem(sm, &igtk_len); in wpa_sm_write_assoc_resp_ies()
1849 if (igtk == NULL) { in wpa_sm_write_assoc_resp_ies()
1856 os_free(igtk); in wpa_sm_write_assoc_resp_ies()
1860 os_memcpy(subelem + subelem_len, igtk, igtk_len); in wpa_sm_write_assoc_resp_ies()
1862 os_free(igtk); in wpa_sm_write_assoc_resp_ies()
Dwpa_auth_ie.c923 ie->igtk = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()