Home
last modified time | relevance | path

Searched refs:group_cipher (Results 1 – 25 of 67) sorted by relevance

123

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa_ie.c42 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_wpa() argument
59 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, group_cipher); in wpa_gen_wpa_ie_wpa()
62 group_cipher); in wpa_gen_wpa_ie_wpa()
132 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_rsn() argument
153 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_rsn()
156 group_cipher); in wpa_gen_wpa_ie_rsn()
274 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_osen() argument
292 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_osen()
295 group_cipher); in wpa_gen_wpa_ie_osen()
342 sm->group_cipher, in wpa_gen_wpa_ie()
[all …]
Dwpa.c865 wpa_cipher_txt(sm->group_cipher)); in wpa_supplicant_key_neg_complete()
869 wpa_cipher_txt(sm->group_cipher)); in wpa_supplicant_key_neg_complete()
1018 int group_cipher, in wpa_supplicant_check_group_cipher() argument
1025 *alg = wpa_cipher_to_alg(group_cipher); in wpa_supplicant_check_group_cipher()
1029 group_cipher); in wpa_supplicant_check_group_cipher()
1032 *key_rsc_len = wpa_cipher_rsc_len(group_cipher); in wpa_supplicant_check_group_cipher()
1034 klen = wpa_cipher_key_len(group_cipher); in wpa_supplicant_check_group_cipher()
1038 wpa_cipher_txt(group_cipher), keylen, maxkeylen); in wpa_supplicant_check_group_cipher()
1077 if (sm->group_cipher == WPA_CIPHER_TKIP) { in wpa_supplicant_install_gtk()
1146 rsclen = wpa_cipher_rsc_len(sm->group_cipher); in wpa_supplicant_rsc_relaxation()
[all …]
Dwpa_ft.c220 if (!wpa_cipher_valid_group(sm->group_cipher)) { in wpa_ft_gen_req_ies()
222 sm->group_cipher); in wpa_ft_gen_req_ies()
227 sm->group_cipher)); in wpa_ft_gen_req_ies()
793 keylen = wpa_cipher_key_len(sm->group_cipher); in wpa_ft_process_gtk_subelem()
794 rsc_len = wpa_cipher_rsc_len(sm->group_cipher); in wpa_ft_process_gtk_subelem()
795 alg = wpa_cipher_to_alg(sm->group_cipher); in wpa_ft_process_gtk_subelem()
798 sm->group_cipher); in wpa_ft_process_gtk_subelem()
819 if (sm->group_cipher == WPA_CIPHER_TKIP) { in wpa_ft_process_gtk_subelem()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa_ie.c42 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_wpa() argument
59 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, group_cipher); in wpa_gen_wpa_ie_wpa()
62 group_cipher); in wpa_gen_wpa_ie_wpa()
109 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_rsn() argument
131 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_rsn()
134 group_cipher); in wpa_gen_wpa_ie_rsn()
265 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_osen() argument
283 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_osen()
286 group_cipher); in wpa_gen_wpa_ie_osen()
333 sm->group_cipher, in wpa_gen_wpa_ie()
[all …]
Dwpa_ft.c193 if (!wpa_cipher_valid_group(sm->group_cipher)) { in wpa_ft_gen_req_ies()
195 sm->group_cipher); in wpa_ft_gen_req_ies()
200 sm->group_cipher)); in wpa_ft_gen_req_ies()
726 keylen = wpa_cipher_key_len(sm->group_cipher); in wpa_ft_process_gtk_subelem()
727 rsc_len = wpa_cipher_rsc_len(sm->group_cipher); in wpa_ft_process_gtk_subelem()
728 alg = wpa_cipher_to_alg(sm->group_cipher); in wpa_ft_process_gtk_subelem()
731 sm->group_cipher); in wpa_ft_process_gtk_subelem()
752 if (sm->group_cipher == WPA_CIPHER_TKIP) { in wpa_ft_process_gtk_subelem()
Dwpa.c734 wpa_cipher_txt(sm->group_cipher)); in wpa_supplicant_key_neg_complete()
853 int group_cipher, in wpa_supplicant_check_group_cipher() argument
860 *alg = wpa_cipher_to_alg(group_cipher); in wpa_supplicant_check_group_cipher()
864 group_cipher); in wpa_supplicant_check_group_cipher()
867 *key_rsc_len = wpa_cipher_rsc_len(group_cipher); in wpa_supplicant_check_group_cipher()
869 klen = wpa_cipher_key_len(group_cipher); in wpa_supplicant_check_group_cipher()
873 wpa_cipher_txt(group_cipher), keylen, maxkeylen); in wpa_supplicant_check_group_cipher()
912 if (sm->group_cipher == WPA_CIPHER_TKIP) { in wpa_supplicant_install_gtk()
980 rsclen = wpa_cipher_rsc_len(sm->group_cipher); in wpa_supplicant_rsc_relaxation()
1038 if (sm->group_cipher != WPA_CIPHER_GTK_NOT_USED && in wpa_supplicant_pairwise_gtk()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dmesh.c110 cipher = wpa_pick_group_cipher(ssid->group_cipher); in mesh_config_create()
118 conf->group_cipher = cipher; in mesh_config_create()
217 wpa_s->group_cipher = wpa_s->mesh_rsn->group_cipher; in wpas_mesh_complete()
451 wpa_s->group_cipher = WPA_CIPHER_NONE; in wpa_supplicant_join_mesh()
Dwpa_supplicant.c176 switch (wpa_s->group_cipher) { in wpa_supplicant_set_wpa_none_key()
196 "WPA-None", wpa_s->group_cipher); in wpa_supplicant_set_wpa_none_key()
409 wpa_s->group_cipher = WPA_CIPHER_NONE; in wpa_supplicant_set_non_wpa_policy()
415 wpa_s->group_cipher = WPA_CIPHER_WEP104; in wpa_supplicant_set_non_wpa_policy()
419 wpa_s->group_cipher = WPA_CIPHER_WEP40; in wpa_supplicant_set_non_wpa_policy()
428 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_GROUP, wpa_s->group_cipher); in wpa_supplicant_set_non_wpa_policy()
1052 wpa_s->group_cipher = 0; in wpa_supplicant_clear_status()
1190 if (!(ie->group_cipher & ssid->group_cipher)) { in wpa_supplicant_suites_from_ai()
1193 ie->group_cipher, ssid->group_cipher); in wpa_supplicant_suites_from_ai()
1227 ie->group_cipher = wpa_default_rsn_cipher(freq); in matching_ciphers()
[all …]
Dmesh_rsn.c163 conf.wpa_group = rsn->group_cipher; in __mesh_rsn_auth_init()
209 wpa_drv_set_key(rsn->wpa_s, wpa_cipher_to_alg(rsn->group_cipher), NULL, in __mesh_rsn_auth_init()
244 mesh_rsn->group_cipher = conf->group_cipher; in mesh_rsn_auth_init()
757 key_len = wpa_cipher_key_len(wpa_s->mesh_rsn->group_cipher); in mesh_rsn_process_ampe()
Dmesh_rsn.h16 unsigned int group_cipher; member
Dconfig_ssid.h240 int group_cipher; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dmesh_rsn.c164 conf.wpa_group = rsn->group_cipher; in __mesh_rsn_auth_init()
208 wpa_drv_set_key(rsn->wpa_s, wpa_cipher_to_alg(rsn->group_cipher), in __mesh_rsn_auth_init()
244 mesh_rsn->group_cipher = conf->group_cipher; in mesh_rsn_auth_init()
754 key_len = wpa_cipher_key_len(wpa_s->mesh_rsn->group_cipher); in mesh_rsn_process_ampe()
Dwpas_glue.c255 wpa_s->group_cipher = cipher; in wpa_eapol_set_wep_key()
1278 ssid->group_cipher &= ~WPA_CIPHER_TKIP; in disable_wpa_wpa2()
1279 if (!(ssid->group_cipher & (WPA_CIPHER_CCMP | WPA_CIPHER_GCMP | in disable_wpa_wpa2()
1281 ssid->group_cipher |= WPA_CIPHER_CCMP; in disable_wpa_wpa2()
1303 (ssid->group_cipher & WPA_CIPHER_TKIP))) { in wpa_supplicant_transition_disable()
1319 (ssid->group_cipher & WPA_CIPHER_TKIP))) { in wpa_supplicant_transition_disable()
1334 (ssid->group_cipher & WPA_CIPHER_TKIP))) { in wpa_supplicant_transition_disable()
Dwpa_supplicant.c199 switch (wpa_s->group_cipher) { in wpa_supplicant_set_wpa_none_key()
219 "WPA-None", wpa_s->group_cipher); in wpa_supplicant_set_wpa_none_key()
445 wpa_s->group_cipher = WPA_CIPHER_NONE; in wpa_supplicant_set_non_wpa_policy()
452 wpa_s->group_cipher = WPA_CIPHER_WEP104; in wpa_supplicant_set_non_wpa_policy()
456 wpa_s->group_cipher = WPA_CIPHER_WEP40; in wpa_supplicant_set_non_wpa_policy()
466 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_GROUP, wpa_s->group_cipher); in wpa_supplicant_set_non_wpa_policy()
1190 wpa_s->group_cipher = 0; in wpa_supplicant_clear_status()
1329 if (!(ie->group_cipher & ssid->group_cipher)) { in wpa_supplicant_suites_from_ai()
1332 ie->group_cipher, ssid->group_cipher); in wpa_supplicant_suites_from_ai()
1364 ie->group_cipher = wpa_default_rsn_cipher(freq); in matching_ciphers()
[all …]
Dmesh.c119 cipher = wpa_pick_group_cipher(ssid->group_cipher); in mesh_config_create()
127 conf->group_cipher = cipher; in mesh_config_create()
277 wpa_s->group_cipher = wpa_s->mesh_rsn->group_cipher; in wpas_mesh_complete()
633 wpa_s->group_cipher = WPA_CIPHER_NONE; in wpa_supplicant_join_mesh()
Dmesh_rsn.h16 unsigned int group_cipher; member
Dconfig_file.c44 if (ssid->group_cipher != WPA_CIPHER_SMS4) { in wpa_config_validate_network()
45 ssid->group_cipher = WPA_CIPHER_SMS4; in wpa_config_validate_network()
60 if (ssid->group_cipher != WPA_CIPHER_SMS4) { in wpa_config_validate_network()
61 ssid->group_cipher = WPA_CIPHER_SMS4; in wpa_config_validate_network()
81 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network()
89 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_validate_network()
550 if (ssid->group_cipher == DEFAULT_GROUP) in write_group()
Devents.c685 ie.group_cipher = wpa_default_rsn_cipher(bss->freq); in wpa_supplicant_ssid_bss_match()
689 (ie.group_cipher & (WPA_CIPHER_WEP40 | WPA_CIPHER_WEP104))) in wpa_supplicant_ssid_bss_match()
713 if (!(ie.group_cipher & ssid->group_cipher)) { in wpa_supplicant_ssid_bss_match()
787 (ie.group_cipher & (WPA_CIPHER_WEP40 | WPA_CIPHER_WEP104))) in wpa_supplicant_ssid_bss_match()
810 if (!(ie.group_cipher & ssid->group_cipher)) { in wpa_supplicant_ssid_bss_match()
3110 sel = ie.group_cipher; in wpa_supplicant_use_own_rsne_params()
3111 if (ssid->group_cipher) in wpa_supplicant_use_own_rsne_params()
3112 sel &= ssid->group_cipher; in wpa_supplicant_use_own_rsne_params()
3116 ie.group_cipher, ssid->group_cipher, sel); in wpa_supplicant_use_own_rsne_params()
3117 if (ie.group_cipher && !sel) { in wpa_supplicant_use_own_rsne_params()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wapi/
Dwapi_asue_i.h61 unsigned int group_cipher; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
Dwpagui.cpp536 char *pairwise_cipher = NULL, *group_cipher = NULL; in updateStatus() local
579 group_cipher = pos; in updateStatus()
592 if (pairwise_cipher || group_cipher) { in updateStatus()
594 if (pairwise_cipher && group_cipher && in updateStatus()
595 strcmp(pairwise_cipher, group_cipher) != 0) { in updateStatus()
598 encr.append(group_cipher); in updateStatus()
602 encr.append(group_cipher); in updateStatus()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
Dwpagui.cpp534 char *pairwise_cipher = NULL, *group_cipher = NULL; in updateStatus() local
577 group_cipher = pos; in updateStatus()
590 if (pairwise_cipher || group_cipher) { in updateStatus()
592 if (pairwise_cipher && group_cipher && in updateStatus()
593 strcmp(pairwise_cipher, group_cipher) != 0) { in updateStatus()
596 encr.append(group_cipher); in updateStatus()
600 encr.append(group_cipher); in updateStatus()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ie.c566 data.group_cipher = wpa_default_rsn_cipher(freq); in wpa_validate_wpa_ie()
647 data.group_cipher); in wpa_validate_wpa_ie()
668 data.group_cipher); in wpa_validate_wpa_ie()
680 if (data.group_cipher != wpa_auth->conf.wpa_group) { in wpa_validate_wpa_ie()
682 MACSTR, data.group_cipher, MAC2STR(sm->addr)); in wpa_validate_wpa_ie()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.c1201 data->group_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn()
1229 data->group_cipher = WPA_CIPHER_GTK_NOT_USED; in wpa_parse_wpa_ie_rsn()
1251 data->group_cipher = rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn()
1253 if (!wpa_cipher_valid_group(data->group_cipher)) { in wpa_parse_wpa_ie_rsn()
1256 __func__, data->group_cipher, in wpa_parse_wpa_ie_rsn()
1403 data->group_cipher = WPA_CIPHER_TKIP; in wpa_parse_wpa_ie_wpa()
1431 data->group_cipher = wpa_selector_to_bitfield(pos); in wpa_parse_wpa_ie_wpa()
2117 ie1d.group_cipher == ie2d.group_cipher && in wpa_compare_rsn_ie()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_ie.c622 data.group_cipher = wpa_default_rsn_cipher(freq); in wpa_validate_wpa_ie()
701 data.group_cipher); in wpa_validate_wpa_ie()
722 data.group_cipher); in wpa_validate_wpa_ie()
734 if (data.group_cipher != wpa_auth->conf.wpa_group) { in wpa_validate_wpa_ie()
736 MACSTR_SEC, data.group_cipher, MAC2STR_SEC(sm->addr)); in wpa_validate_wpa_ie()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_common.c1552 data->group_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn()
1576 data->group_cipher = WPA_CIPHER_GTK_NOT_USED; in wpa_parse_wpa_ie_rsn()
1598 data->group_cipher = rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn()
1600 if (!wpa_cipher_valid_group(data->group_cipher)) { in wpa_parse_wpa_ie_rsn()
1603 __func__, data->group_cipher, in wpa_parse_wpa_ie_rsn()
1746 data->group_cipher = WPA_CIPHER_TKIP; in wpa_parse_wpa_ie_wpa()
1774 data->group_cipher = wpa_selector_to_bitfield(pos); in wpa_parse_wpa_ie_wpa()
2479 ie1d.group_cipher == ie2d.group_cipher && in wpa_compare_rsn_ie()
3609 if (!data->has_group || data->group_cipher != WPA_CIPHER_GTK_NOT_USED) { in wpa_pasn_validate_rsne()

123