Home
last modified time | relevance | path

Searched refs:mgmt_group_cipher (Results 1 – 25 of 36) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa_ft.c250 if (sm->mgmt_group_cipher == WPA_CIPHER_AES_128_CMAC || in wpa_ft_gen_req_ies()
251 sm->mgmt_group_cipher == WPA_CIPHER_BIP_GMAC_128 || in wpa_ft_gen_req_ies()
252 sm->mgmt_group_cipher == WPA_CIPHER_BIP_GMAC_256 || in wpa_ft_gen_req_ies()
253 sm->mgmt_group_cipher == WPA_CIPHER_BIP_CMAC_256) in wpa_ft_gen_req_ies()
271 switch (sm->mgmt_group_cipher) { in wpa_ft_gen_req_ies()
788 if (sm->mgmt_group_cipher != WPA_CIPHER_AES_128_CMAC && in wpa_ft_process_igtk_subelem()
789 sm->mgmt_group_cipher != WPA_CIPHER_BIP_GMAC_128 && in wpa_ft_process_igtk_subelem()
790 sm->mgmt_group_cipher != WPA_CIPHER_BIP_GMAC_256 && in wpa_ft_process_igtk_subelem()
791 sm->mgmt_group_cipher != WPA_CIPHER_BIP_CMAC_256) in wpa_ft_process_igtk_subelem()
802 igtk_len = wpa_cipher_key_len(sm->mgmt_group_cipher); in wpa_ft_process_igtk_subelem()
[all …]
Dwpa_ie.c110 int key_mgmt, int mgmt_group_cipher, in wpa_gen_wpa_ie_rsn() argument
241 if (wpa_cipher_valid_mgmt_group(mgmt_group_cipher)) { in wpa_gen_wpa_ie_rsn()
250 mgmt_group_cipher)); in wpa_gen_wpa_ie_rsn()
334 sm->key_mgmt, sm->mgmt_group_cipher, in wpa_gen_wpa_ie()
Dwpa.c1059 size_t len = wpa_cipher_key_len(sm->mgmt_group_cipher); in wpa_supplicant_install_igtk()
1083 if (wpa_sm_set_key(sm, wpa_cipher_to_alg(sm->mgmt_group_cipher), in wpa_supplicant_install_igtk()
1128 if (!wpa_cipher_valid_mgmt_group(sm->mgmt_group_cipher)) in ieee80211w_set_keys()
1135 len = wpa_cipher_key_len(sm->mgmt_group_cipher); in ieee80211w_set_keys()
1466 wpa_cipher_valid_mgmt_group(sm->mgmt_group_cipher) && in wpa_supplicant_process_3_of_4()
1468 (unsigned int) wpa_cipher_key_len(sm->mgmt_group_cipher)) { in wpa_supplicant_process_3_of_4()
3048 sm->mgmt_group_cipher = value; in wpa_sm_set_param()
3108 sm->mgmt_group_cipher)); in wpa_sm_get_status()
4023 if (sm->mgmt_group_cipher == WPA_CIPHER_AES_128_CMAC) in fils_ft_build_assoc_req_rsne()
4066 if (sm->mgmt_group_cipher == WPA_CIPHER_AES_128_CMAC) { in fils_ft_build_assoc_req_rsne()
Dwpa_i.h85 unsigned int mgmt_group_cipher; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa_ft.c287 switch (sm->mgmt_group_cipher) { in wpa_ft_gen_req_ies()
855 if (sm->mgmt_group_cipher != WPA_CIPHER_AES_128_CMAC && in wpa_ft_process_igtk_subelem()
856 sm->mgmt_group_cipher != WPA_CIPHER_BIP_GMAC_128 && in wpa_ft_process_igtk_subelem()
857 sm->mgmt_group_cipher != WPA_CIPHER_BIP_GMAC_256 && in wpa_ft_process_igtk_subelem()
858 sm->mgmt_group_cipher != WPA_CIPHER_BIP_CMAC_256) in wpa_ft_process_igtk_subelem()
869 igtk_len = wpa_cipher_key_len(sm->mgmt_group_cipher); in wpa_ft_process_igtk_subelem()
893 if (wpa_sm_set_key(sm, wpa_cipher_to_alg(sm->mgmt_group_cipher), in wpa_ft_process_igtk_subelem()
918 (sm->mgmt_group_cipher != WPA_CIPHER_AES_128_CMAC && in wpa_ft_process_bigtk_subelem()
919 sm->mgmt_group_cipher != WPA_CIPHER_BIP_GMAC_128 && in wpa_ft_process_bigtk_subelem()
920 sm->mgmt_group_cipher != WPA_CIPHER_BIP_GMAC_256 && in wpa_ft_process_bigtk_subelem()
[all …]
Dwpa_ie.c127 int key_mgmt, int mgmt_group_cipher, in wpa_gen_wpa_ie_rsn() argument
245 if (wpa_cipher_valid_mgmt_group(mgmt_group_cipher)) { in wpa_gen_wpa_ie_rsn()
254 mgmt_group_cipher)); in wpa_gen_wpa_ie_rsn()
337 sm->key_mgmt, sm->mgmt_group_cipher, in wpa_gen_wpa_ie()
Dwpa.c1224 size_t len = wpa_cipher_key_len(sm->mgmt_group_cipher); in wpa_supplicant_install_igtk()
1250 if (wpa_sm_set_key(sm, wpa_cipher_to_alg(sm->mgmt_group_cipher), in wpa_supplicant_install_igtk()
1294 size_t len = wpa_cipher_key_len(sm->mgmt_group_cipher); in wpa_supplicant_install_bigtk()
1321 if (wpa_sm_set_key(sm, wpa_cipher_to_alg(sm->mgmt_group_cipher), in wpa_supplicant_install_bigtk()
1348 if (!wpa_cipher_valid_mgmt_group(sm->mgmt_group_cipher) || in ieee80211w_set_keys()
1349 sm->mgmt_group_cipher == WPA_CIPHER_GTK_NOT_USED) in ieee80211w_set_keys()
1355 len = wpa_cipher_key_len(sm->mgmt_group_cipher); in ieee80211w_set_keys()
1367 len = wpa_cipher_key_len(sm->mgmt_group_cipher); in ieee80211w_set_keys()
1718 sm->mgmt_group_cipher != WPA_CIPHER_GTK_NOT_USED && in wpa_supplicant_process_3_of_4()
1719 wpa_cipher_valid_mgmt_group(sm->mgmt_group_cipher) && in wpa_supplicant_process_3_of_4()
[all …]
Dwpa_i.h103 unsigned int mgmt_group_cipher; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dmesh_rsn.c171 conf.group_mgmt_cipher = rsn->mgmt_group_cipher; in __mesh_rsn_auth_init()
198 wpa_cipher_to_alg(rsn->mgmt_group_cipher), in __mesh_rsn_auth_init()
245 mesh_rsn->mgmt_group_cipher = conf->mgmt_group_cipher; in mesh_rsn_auth_init()
778 key_len = wpa_cipher_key_len(wpa_s->mesh_rsn->mgmt_group_cipher); in mesh_rsn_process_ampe()
Dmesh.c132 conf->mgmt_group_cipher = ssid->group_mgmt_cipher; in mesh_config_create()
134 conf->mgmt_group_cipher = WPA_CIPHER_AES_128_CMAC; in mesh_config_create()
278 wpa_s->mgmt_group_cipher = wpa_s->mesh_rsn->mgmt_group_cipher; in wpas_mesh_complete()
634 wpa_s->mgmt_group_cipher = 0; in wpa_supplicant_join_mesh()
Dmesh_rsn.h20 unsigned int mgmt_group_cipher; member
Dwpa_supplicant.c438 wpa_s->mgmt_group_cipher = 0; in wpa_supplicant_set_non_wpa_policy()
460 wpa_s->mgmt_group_cipher); in wpa_supplicant_set_non_wpa_policy()
1176 wpa_s->mgmt_group_cipher = 0; in wpa_supplicant_clear_status()
1362 sel = ie->mgmt_group_cipher; in wpas_set_mgmt_group_cipher()
1370 ie->mgmt_group_cipher, ssid->group_mgmt_cipher, sel); in wpas_set_mgmt_group_cipher()
1372 wpa_s->mgmt_group_cipher = WPA_CIPHER_AES_128_CMAC; in wpas_set_mgmt_group_cipher()
1376 wpa_s->mgmt_group_cipher = WPA_CIPHER_BIP_GMAC_128; in wpas_set_mgmt_group_cipher()
1380 wpa_s->mgmt_group_cipher = WPA_CIPHER_BIP_GMAC_256; in wpas_set_mgmt_group_cipher()
1384 wpa_s->mgmt_group_cipher = WPA_CIPHER_BIP_CMAC_256; in wpas_set_mgmt_group_cipher()
1388 wpa_s->mgmt_group_cipher = 0; in wpas_set_mgmt_group_cipher()
[all …]
Devents.c686 !(ie.mgmt_group_cipher & ssid->group_mgmt_cipher)) { in wpa_supplicant_ssid_bss_match()
2999 sel = ie.mgmt_group_cipher; in wpa_supplicant_use_own_rsne_params()
3005 ie.mgmt_group_cipher, ssid->group_mgmt_cipher, sel); in wpa_supplicant_use_own_rsne_params()
3012 ie.mgmt_group_cipher = 0; in wpa_supplicant_use_own_rsne_params()
3015 if (ie.mgmt_group_cipher && !sel) { in wpa_supplicant_use_own_rsne_params()
3021 wpa_s->mgmt_group_cipher = ie.mgmt_group_cipher; in wpa_supplicant_use_own_rsne_params()
3023 wpa_s->mgmt_group_cipher); in wpa_supplicant_use_own_rsne_params()
3024 if (wpa_s->mgmt_group_cipher) in wpa_supplicant_use_own_rsne_params()
3026 wpa_cipher_txt(wpa_s->mgmt_group_cipher)); in wpa_supplicant_use_own_rsne_params()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dmesh_rsn.c171 conf.group_mgmt_cipher = rsn->mgmt_group_cipher; in __mesh_rsn_auth_init()
200 wpa_cipher_to_alg(rsn->mgmt_group_cipher), NULL, in __mesh_rsn_auth_init()
245 mesh_rsn->mgmt_group_cipher = conf->mgmt_group_cipher; in mesh_rsn_auth_init()
782 key_len = wpa_cipher_key_len(wpa_s->mesh_rsn->mgmt_group_cipher); in mesh_rsn_process_ampe()
Dmesh_rsn.h20 unsigned int mgmt_group_cipher; member
Dmesh.c120 conf->mgmt_group_cipher = WPA_CIPHER_AES_128_CMAC; in mesh_config_create()
218 wpa_s->mgmt_group_cipher = wpa_s->mesh_rsn->mgmt_group_cipher; in wpas_mesh_complete()
452 wpa_s->mgmt_group_cipher = 0; in wpa_supplicant_join_mesh()
Dwpa_supplicant.c410 wpa_s->mgmt_group_cipher = 0; in wpa_supplicant_set_non_wpa_policy()
431 wpa_s->mgmt_group_cipher); in wpa_supplicant_set_non_wpa_policy()
1053 wpa_s->mgmt_group_cipher = 0; in wpa_supplicant_clear_status()
1343 ie.mgmt_group_cipher = 0; in wpa_supplicant_set_suites()
1347 ie.mgmt_group_cipher = in wpa_supplicant_set_suites()
1351 ie.mgmt_group_cipher = in wpa_supplicant_set_suites()
1355 ie.mgmt_group_cipher = in wpa_supplicant_set_suites()
1358 ie.mgmt_group_cipher = in wpa_supplicant_set_suites()
1384 ie.mgmt_group_cipher); in wpa_supplicant_set_suites()
1557 sel = ie.mgmt_group_cipher; in wpa_supplicant_set_suites()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.c1207 data->mgmt_group_cipher = WPA_CIPHER_AES_128_CMAC; in wpa_parse_wpa_ie_rsn()
1209 data->mgmt_group_cipher = 0; in wpa_parse_wpa_ie_rsn()
1345 data->mgmt_group_cipher = rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn()
1346 if (!wpa_cipher_valid_mgmt_group(data->mgmt_group_cipher)) { in wpa_parse_wpa_ie_rsn()
1349 __func__, data->mgmt_group_cipher, in wpa_parse_wpa_ie_rsn()
1408 data->mgmt_group_cipher = 0; in wpa_parse_wpa_ie_wpa()
2120 ie1d.mgmt_group_cipher == ie2d.mgmt_group_cipher) in wpa_compare_rsn_ie()
Dwpa_common.h403 int mgmt_group_cipher; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_common.c1554 data->mgmt_group_cipher = WPA_CIPHER_AES_128_CMAC; in wpa_parse_wpa_ie_rsn()
1686 data->mgmt_group_cipher = rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn()
1687 if (!wpa_cipher_valid_mgmt_group(data->mgmt_group_cipher)) { in wpa_parse_wpa_ie_rsn()
1690 __func__, data->mgmt_group_cipher, in wpa_parse_wpa_ie_rsn()
1748 data->mgmt_group_cipher = 0; in wpa_parse_wpa_ie_wpa()
2475 ie1d.mgmt_group_cipher == ie2d.mgmt_group_cipher) in wpa_compare_rsn_ie()
3605 if (data->mgmt_group_cipher != WPA_CIPHER_GTK_NOT_USED) { in wpa_pasn_validate_rsne()
Dwpa_common.h449 int mgmt_group_cipher; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ie.c769 if (data.mgmt_group_cipher != wpa_auth->conf.group_mgmt_cipher) in wpa_validate_wpa_ie()
772 "cipher %d", data.mgmt_group_cipher); in wpa_validate_wpa_ie()
Dap_config.h49 unsigned int mgmt_group_cipher; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_ie.c820 if (data.mgmt_group_cipher != wpa_auth->conf.group_mgmt_cipher) in wpa_validate_wpa_ie()
823 "cipher %d", data.mgmt_group_cipher); in wpa_validate_wpa_ie()
Dap_config.h49 unsigned int mgmt_group_cipher; member

12