Searched refs:igtk_len (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | mesh_rsn.c | 207 rsn->igtk_len = wpa_cipher_key_len(conf.group_mgmt_cipher); in __mesh_rsn_auth_init() 208 if (random_get_bytes(rsn->igtk, rsn->igtk_len) < 0) in __mesh_rsn_auth_init() 214 rsn->igtk, rsn->igtk_len); in __mesh_rsn_auth_init() 219 seq, sizeof(seq), rsn->igtk, rsn->igtk_len, in __mesh_rsn_auth_init() 240 rsn->igtk_len = 0; in mesh_rsn_deinit() 566 if (cat[1] == PLINK_OPEN && rsn->igtk_len) in mesh_rsn_protect_frame() 567 len += 2 + 6 + rsn->igtk_len; in mesh_rsn_protect_frame() 614 if (rsn->igtk_len) { in mesh_rsn_protect_frame() 619 os_memcpy(pos, rsn->igtk, rsn->igtk_len); in mesh_rsn_protect_frame() 806 sta->igtk_len = key_len; in mesh_rsn_process_ampe() [all …]
|
H A D | mesh_rsn.h | 23 size_t igtk_len; member
|
H A D | mesh_mpm.c | 937 if (sta->igtk_len) { in mesh_mpm_plink_estab() 941 sta->igtk, sta->igtk_len); in mesh_mpm_plink_estab() 947 sta->igtk, sta->igtk_len, in mesh_mpm_plink_estab()
|
/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | wpa_ft.c | 887 size_t igtk_len; in wpa_ft_process_igtk_subelem() local 914 igtk_len = wpa_cipher_key_len(sm->mgmt_group_cipher); in wpa_ft_process_igtk_subelem() 915 if (igtk_elem_len != 2 + 6 + 1 + igtk_len + 8) { in wpa_ft_process_igtk_subelem() 920 if (igtk_elem[8] != igtk_len) { in wpa_ft_process_igtk_subelem() 926 if (aes_unwrap(kek, kek_len, igtk_len / 8, igtk_elem + 9, igtk)) { in wpa_ft_process_igtk_subelem() 937 igtk_len); in wpa_ft_process_igtk_subelem() 940 igtk_elem + 2, 6, igtk, igtk_len, in wpa_ft_process_igtk_subelem() 1252 wpa_ft_process_igtk_subelem(sm, parse.igtk, parse.igtk_len) < 0 || in wpa_ft_validate_reassoc_resp()
|
H A D | wpa.c | 1639 if ((sm->igtk.igtk_len == len && in wpa_supplicant_install_igtk() 1640 os_memcmp(sm->igtk.igtk, igtk->igtk, sm->igtk.igtk_len) == 0) || in wpa_supplicant_install_igtk() 1641 (sm->igtk_wnm_sleep.igtk_len == len && in wpa_supplicant_install_igtk() 1643 sm->igtk_wnm_sleep.igtk_len) == 0)) { in wpa_supplicant_install_igtk() 1687 sm->igtk_wnm_sleep.igtk_len = len; in wpa_supplicant_install_igtk() 1689 sm->igtk_wnm_sleep.igtk_len); in wpa_supplicant_install_igtk() 1691 sm->igtk.igtk_len = len; in wpa_supplicant_install_igtk() 1692 os_memcpy(sm->igtk.igtk, igtk->igtk, sm->igtk.igtk_len); in wpa_supplicant_install_igtk() 1758 if ((sm->mlo.links[link_id].igtk.igtk_len == len && in wpa_supplicant_install_mlo_igtk() 1760 sm->mlo.links[link_id].igtk.igtk_len) == 0) || in wpa_supplicant_install_mlo_igtk() [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_common.h | 281 size_t igtk_len; member 588 size_t igtk_len; member 661 size_t igtk_len; member
|
H A D | wpa_common.c | 1080 parse->igtk_len = len; in wpa_ft_parse_ftie() 3499 ie->igtk_len = left; in wpa_parse_generic()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | sta_info.h | 133 size_t igtk_len; member
|
H A D | wpa_auth_ft.c | 2313 size_t igtk_len; in wpa_ft_igtk_subelem() local 2324 igtk_len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher); in wpa_ft_igtk_subelem() 2328 subelem_len = 1 + 1 + 2 + 6 + 1 + igtk_len + 8; in wpa_ft_igtk_subelem() 2340 *pos++ = igtk_len; in wpa_ft_igtk_subelem() 2347 if (random_get_bytes(stub_igtk, igtk_len / 8) < 0) { in wpa_ft_igtk_subelem() 2353 if (aes_wrap(kek, kek_len, igtk_len / 8, igtk, pos)) { in wpa_ft_igtk_subelem() 2663 size_t igtk_len; in wpa_sm_write_assoc_resp_ies() local 2665 igtk = wpa_ft_igtk_subelem(sm, &igtk_len); in wpa_sm_write_assoc_resp_ies() 2672 nbuf = os_realloc(subelem, subelem_len + igtk_len); in wpa_sm_write_assoc_resp_ies() 2679 os_memcpy(subelem + subelem_len, igtk, igtk_len); in wpa_sm_write_assoc_resp_ies() [all …]
|
H A D | wpa_auth.c | 4203 info->igtk_len = wpa_cipher_key_len(a->conf.group_mgmt_cipher); 4351 !ml_key_info.links[i].igtk_len) 4357 ml_key_info.links[i].igtk_len); 4362 ml_key_info.links[i].igtk_len; 4379 ml_key_info.links[i].igtk_len); 4380 pos += ml_key_info.links[i].igtk_len; 4395 !ml_key_info.links[i].igtk_len) 4401 ml_key_info.links[i].igtk_len); 4406 ml_key_info.links[i].igtk_len; 4423 ml_key_info.links[i].igtk_len); [all …]
|
H A D | wpa_auth.h | 324 u8 igtk_len; member
|