Home
last modified time | relevance | path

Searched refs:igtk_len (Results 1 – 22 of 22) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dmesh_rsn.c191 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 …]
Dmesh_rsn.h23 size_t igtk_len; member
Dmesh_mpm.c890 if (sta->igtk_len) { in mesh_mpm_plink_estab()
894 sta->igtk, sta->igtk_len); in mesh_mpm_plink_estab()
900 sta->igtk, sta->igtk_len); in mesh_mpm_plink_estab()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dmesh_rsn.c189 rsn->igtk_len = wpa_cipher_key_len(conf.group_mgmt_cipher); in __mesh_rsn_auth_init()
190 if (random_get_bytes(rsn->igtk, rsn->igtk_len) < 0) in __mesh_rsn_auth_init()
196 rsn->igtk, rsn->igtk_len); in __mesh_rsn_auth_init()
201 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()
597 if (rsn->igtk_len) { in mesh_rsn_protect_frame()
602 os_memcpy(pos, rsn->igtk, rsn->igtk_len); in mesh_rsn_protect_frame()
789 sta->igtk_len = key_len; in mesh_rsn_process_ampe()
[all …]
Dmesh_rsn.h23 size_t igtk_len; member
Dmesh_mpm.c908 if (sta->igtk_len) { in mesh_mpm_plink_estab()
912 sta->igtk, sta->igtk_len); in mesh_mpm_plink_estab()
918 sta->igtk, sta->igtk_len, in mesh_mpm_plink_estab()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa_ft.c775 size_t igtk_len; in wpa_ft_process_igtk_subelem() local
802 igtk_len = wpa_cipher_key_len(sm->mgmt_group_cipher); in wpa_ft_process_igtk_subelem()
803 if (igtk_elem_len != 2 + 6 + 1 + igtk_len + 8) { in wpa_ft_process_igtk_subelem()
808 if (igtk_elem[8] != igtk_len) { in wpa_ft_process_igtk_subelem()
814 if (aes_unwrap(kek, kek_len, igtk_len / 8, igtk_elem + 9, igtk)) { in wpa_ft_process_igtk_subelem()
825 igtk_len); in wpa_ft_process_igtk_subelem()
828 igtk_elem + 2, 6, igtk, igtk_len) < 0) { in wpa_ft_process_igtk_subelem()
1022 if (wpa_ft_process_igtk_subelem(sm, parse.igtk, parse.igtk_len) < 0) in wpa_ft_validate_reassoc_resp()
Dwpa_ie.h26 size_t igtk_len; member
Dwpa.c1063 if ((sm->igtk.igtk_len == len && in wpa_supplicant_install_igtk()
1064 os_memcmp(sm->igtk.igtk, igtk->igtk, sm->igtk.igtk_len) == 0) || in wpa_supplicant_install_igtk()
1065 (sm->igtk_wnm_sleep.igtk_len == len && in wpa_supplicant_install_igtk()
1067 sm->igtk_wnm_sleep.igtk_len) == 0)) { in wpa_supplicant_install_igtk()
1111 sm->igtk_wnm_sleep.igtk_len = len; in wpa_supplicant_install_igtk()
1113 sm->igtk_wnm_sleep.igtk_len); in wpa_supplicant_install_igtk()
1115 sm->igtk.igtk_len = len; in wpa_supplicant_install_igtk()
1116 os_memcpy(sm->igtk.igtk, igtk->igtk, sm->igtk.igtk_len); in wpa_supplicant_install_igtk()
1136 if (ie->igtk_len != WPA_IGTK_KDE_PREFIX_LEN + len) in ieee80211w_set_keys()
1467 ie.igtk_len != WPA_IGTK_KDE_PREFIX_LEN + in wpa_supplicant_process_3_of_4()
[all …]
Dwpa_ie.c442 ie->igtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa_ft.c842 size_t igtk_len; in wpa_ft_process_igtk_subelem() local
869 igtk_len = wpa_cipher_key_len(sm->mgmt_group_cipher); in wpa_ft_process_igtk_subelem()
870 if (igtk_elem_len != 2 + 6 + 1 + igtk_len + 8) { in wpa_ft_process_igtk_subelem()
875 if (igtk_elem[8] != igtk_len) { in wpa_ft_process_igtk_subelem()
881 if (aes_unwrap(kek, kek_len, igtk_len / 8, igtk_elem + 9, igtk)) { in wpa_ft_process_igtk_subelem()
892 igtk_len); in wpa_ft_process_igtk_subelem()
895 igtk_elem + 2, 6, igtk, igtk_len, in wpa_ft_process_igtk_subelem()
1215 wpa_ft_process_igtk_subelem(sm, parse.igtk, parse.igtk_len) < 0 || in wpa_ft_validate_reassoc_resp()
Dwpa.c1228 if ((sm->igtk.igtk_len == len && in wpa_supplicant_install_igtk()
1229 os_memcmp(sm->igtk.igtk, igtk->igtk, sm->igtk.igtk_len) == 0) || in wpa_supplicant_install_igtk()
1230 (sm->igtk_wnm_sleep.igtk_len == len && in wpa_supplicant_install_igtk()
1232 sm->igtk_wnm_sleep.igtk_len) == 0)) { in wpa_supplicant_install_igtk()
1278 sm->igtk_wnm_sleep.igtk_len = len; in wpa_supplicant_install_igtk()
1280 sm->igtk_wnm_sleep.igtk_len); in wpa_supplicant_install_igtk()
1282 sm->igtk.igtk_len = len; in wpa_supplicant_install_igtk()
1283 os_memcpy(sm->igtk.igtk, igtk->igtk, sm->igtk.igtk_len); in wpa_supplicant_install_igtk()
1356 if (ie->igtk_len != WPA_IGTK_KDE_PREFIX_LEN + len) in ieee80211w_set_keys()
1720 ie.igtk_len != WPA_IGTK_KDE_PREFIX_LEN + in wpa_supplicant_process_3_of_4()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ie.h24 size_t igtk_len; member
Dwpa_auth_ft.c2243 size_t igtk_len; in wpa_ft_igtk_subelem() local
2253 igtk_len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher); in wpa_ft_igtk_subelem()
2257 subelem_len = 1 + 1 + 2 + 6 + 1 + igtk_len + 8; in wpa_ft_igtk_subelem()
2269 *pos++ = igtk_len; in wpa_ft_igtk_subelem()
2270 if (aes_wrap(kek, kek_len, igtk_len / 8, in wpa_ft_igtk_subelem()
2493 size_t igtk_len; in wpa_sm_write_assoc_resp_ies() local
2495 igtk = wpa_ft_igtk_subelem(sm, &igtk_len); in wpa_sm_write_assoc_resp_ies()
2502 nbuf = os_realloc(subelem, subelem_len + igtk_len); in wpa_sm_write_assoc_resp_ies()
2509 os_memcpy(subelem + subelem_len, igtk, igtk_len); in wpa_sm_write_assoc_resp_ies()
2510 subelem_len += igtk_len; in wpa_sm_write_assoc_resp_ies()
Dsta_info.h98 size_t igtk_len; member
Dwpa_auth_ie.c1031 ie->igtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_common.h258 size_t igtk_len; member
512 size_t igtk_len; member
574 size_t igtk_len; member
Dwpa_common.c973 parse->igtk_len = len; in wpa_ft_parse_ftie()
3117 ie->igtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.h232 size_t igtk_len; member
460 size_t igtk_len; member
Dwpa_common.c898 parse->igtk_len = len; in wpa_ft_parse_ftie()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_ft.c2261 size_t igtk_len; in wpa_ft_igtk_subelem() local
2272 igtk_len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher); in wpa_ft_igtk_subelem()
2276 subelem_len = 1 + 1 + 2 + 6 + 1 + igtk_len + 8; in wpa_ft_igtk_subelem()
2288 *pos++ = igtk_len; in wpa_ft_igtk_subelem()
2295 if (random_get_bytes(stub_igtk, igtk_len / 8) < 0) { in wpa_ft_igtk_subelem()
2301 if (aes_wrap(kek, kek_len, igtk_len / 8, igtk, pos)) { in wpa_ft_igtk_subelem()
2611 size_t igtk_len; in wpa_sm_write_assoc_resp_ies() local
2613 igtk = wpa_ft_igtk_subelem(sm, &igtk_len); in wpa_sm_write_assoc_resp_ies()
2620 nbuf = os_realloc(subelem, subelem_len + igtk_len); in wpa_sm_write_assoc_resp_ies()
2627 os_memcpy(subelem + subelem_len, igtk, igtk_len); in wpa_sm_write_assoc_resp_ies()
[all …]
Dsta_info.h139 size_t igtk_len; member