Searched refs:igtk_len (Results 1 – 13 of 13) sorted by relevance
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_rsn.c | 191 rsn->igtk_len = wpa_cipher_key_len(conf.group_mgmt_cipher); in __mesh_rsn_auth_init() 192 if (random_get_bytes(rsn->igtk, rsn->igtk_len) < 0) in __mesh_rsn_auth_init() 198 rsn->igtk, rsn->igtk_len); in __mesh_rsn_auth_init() 202 seq, sizeof(seq), rsn->igtk, rsn->igtk_len); in __mesh_rsn_auth_init() 222 rsn->igtk_len = 0; in mesh_rsn_deinit() 549 if (cat[1] == PLINK_OPEN && rsn->igtk_len) in mesh_rsn_protect_frame() 550 len += 2 + 6 + rsn->igtk_len; in mesh_rsn_protect_frame() 599 if (rsn->igtk_len) { in mesh_rsn_protect_frame() 604 os_memcpy(pos, rsn->igtk, rsn->igtk_len); in mesh_rsn_protect_frame() 793 sta->igtk_len = key_len; in mesh_rsn_process_ampe() [all …]
|
D | mesh_rsn.h | 23 size_t igtk_len; member
|
D | mesh_mpm.c | 858 if (sta->igtk_len) { in mesh_mpm_plink_estab() 862 sta->igtk, sta->igtk_len); in mesh_mpm_plink_estab() 868 sta->igtk, sta->igtk_len); in mesh_mpm_plink_estab()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_ft.c | 766 size_t igtk_len; in wpa_ft_process_igtk_subelem() local 793 igtk_len = wpa_cipher_key_len(sm->mgmt_group_cipher); in wpa_ft_process_igtk_subelem() 794 if (igtk_elem_len != 2 + 6 + 1 + igtk_len + 8) { in wpa_ft_process_igtk_subelem() 799 if (igtk_elem[8] != igtk_len) { in wpa_ft_process_igtk_subelem() 805 if (aes_unwrap(kek, kek_len, igtk_len / 8, igtk_elem + 9, igtk)) { in wpa_ft_process_igtk_subelem() 816 igtk_len); in wpa_ft_process_igtk_subelem() 819 igtk_elem + 2, 6, igtk, igtk_len) < 0) { in wpa_ft_process_igtk_subelem() 1013 if (wpa_ft_process_igtk_subelem(sm, parse.igtk, parse.igtk_len) < 0) in wpa_ft_validate_reassoc_resp()
|
D | wpa_ie.h | 26 size_t igtk_len; member
|
D | wpa.c | 1037 if ((sm->igtk.igtk_len == len && in wpa_supplicant_install_igtk() 1038 os_memcmp(sm->igtk.igtk, igtk->igtk, sm->igtk.igtk_len) == 0) || in wpa_supplicant_install_igtk() 1039 (sm->igtk_wnm_sleep.igtk_len == len && in wpa_supplicant_install_igtk() 1041 sm->igtk_wnm_sleep.igtk_len) == 0)) { in wpa_supplicant_install_igtk() 1085 sm->igtk_wnm_sleep.igtk_len = len; in wpa_supplicant_install_igtk() 1087 sm->igtk_wnm_sleep.igtk_len); in wpa_supplicant_install_igtk() 1089 sm->igtk.igtk_len = len; in wpa_supplicant_install_igtk() 1090 os_memcpy(sm->igtk.igtk, igtk->igtk, sm->igtk.igtk_len); in wpa_supplicant_install_igtk() 1110 if (ie->igtk_len != WPA_IGTK_KDE_PREFIX_LEN + len) in ieee80211w_set_keys() 1441 ie.igtk_len != WPA_IGTK_KDE_PREFIX_LEN + in wpa_supplicant_process_3_of_4() [all …]
|
D | wpa_ie.c | 442 ie->igtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ie.h | 24 size_t igtk_len; member
|
D | sta_info.h | 97 size_t igtk_len; member
|
D | wpa_auth_ft.c | 2234 size_t igtk_len; in wpa_ft_igtk_subelem() local 2244 igtk_len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher); in wpa_ft_igtk_subelem() 2248 subelem_len = 1 + 1 + 2 + 6 + 1 + igtk_len + 8; in wpa_ft_igtk_subelem() 2260 *pos++ = igtk_len; in wpa_ft_igtk_subelem() 2261 if (aes_wrap(kek, kek_len, igtk_len / 8, in wpa_ft_igtk_subelem() 2484 size_t igtk_len; in wpa_sm_write_assoc_resp_ies() local 2486 igtk = wpa_ft_igtk_subelem(sm, &igtk_len); in wpa_sm_write_assoc_resp_ies() 2493 nbuf = os_realloc(subelem, subelem_len + igtk_len); in wpa_sm_write_assoc_resp_ies() 2500 os_memcpy(subelem + subelem_len, igtk, igtk_len); in wpa_sm_write_assoc_resp_ies() 2501 subelem_len += igtk_len; in wpa_sm_write_assoc_resp_ies()
|
D | wpa_auth_ie.c | 1031 ie->igtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.h | 232 size_t igtk_len; member 460 size_t igtk_len; member
|
D | wpa_common.c | 898 parse->igtk_len = len; in wpa_ft_parse_ftie()
|