Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/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.c184 if (!wpa_cipher_valid_group(sm->group_cipher)) { in wpa_ft_gen_req_ies()
186 sm->group_cipher); in wpa_ft_gen_req_ies()
191 sm->group_cipher)); in wpa_ft_gen_req_ies()
717 keylen = wpa_cipher_key_len(sm->group_cipher); in wpa_ft_process_gtk_subelem()
718 rsc_len = wpa_cipher_rsc_len(sm->group_cipher); in wpa_ft_process_gtk_subelem()
719 alg = wpa_cipher_to_alg(sm->group_cipher); in wpa_ft_process_gtk_subelem()
722 sm->group_cipher); in wpa_ft_process_gtk_subelem()
743 if (sm->group_cipher == WPA_CIPHER_TKIP) { in wpa_ft_process_gtk_subelem()
Dwpa.c708 wpa_cipher_txt(sm->group_cipher)); in wpa_supplicant_key_neg_complete()
827 int group_cipher, in wpa_supplicant_check_group_cipher() argument
834 *alg = wpa_cipher_to_alg(group_cipher); in wpa_supplicant_check_group_cipher()
838 group_cipher); in wpa_supplicant_check_group_cipher()
841 *key_rsc_len = wpa_cipher_rsc_len(group_cipher); in wpa_supplicant_check_group_cipher()
843 klen = wpa_cipher_key_len(group_cipher); in wpa_supplicant_check_group_cipher()
847 wpa_cipher_txt(group_cipher), keylen, maxkeylen); in wpa_supplicant_check_group_cipher()
886 if (sm->group_cipher == WPA_CIPHER_TKIP) { in wpa_supplicant_install_gtk()
954 rsclen = wpa_cipher_rsc_len(sm->group_cipher); in wpa_supplicant_rsc_relaxation()
1012 if (sm->group_cipher != WPA_CIPHER_GTK_NOT_USED && in wpa_supplicant_pairwise_gtk()
[all …]
Dwpa_i.h83 unsigned int group_cipher; member
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant.c172 switch (wpa_s->group_cipher) { in wpa_supplicant_set_wpa_none_key()
192 "WPA-None", wpa_s->group_cipher); in wpa_supplicant_set_wpa_none_key()
404 wpa_s->group_cipher = WPA_CIPHER_NONE; in wpa_supplicant_set_non_wpa_policy()
410 wpa_s->group_cipher = WPA_CIPHER_WEP104; in wpa_supplicant_set_non_wpa_policy()
414 wpa_s->group_cipher = WPA_CIPHER_WEP40; in wpa_supplicant_set_non_wpa_policy()
423 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_GROUP, wpa_s->group_cipher); in wpa_supplicant_set_non_wpa_policy()
1025 wpa_s->group_cipher = 0; in wpa_supplicant_clear_status()
1163 if (!(ie->group_cipher & ssid->group_cipher)) { in wpa_supplicant_suites_from_ai()
1166 ie->group_cipher, ssid->group_cipher); in wpa_supplicant_suites_from_ai()
1200 ie->group_cipher = wpa_default_rsn_cipher(freq); in matching_ciphers()
[all …]
Dmesh.c110 cipher = wpa_pick_group_cipher(ssid->group_cipher); in mesh_config_create()
118 conf->group_cipher = cipher; in mesh_config_create()
216 wpa_s->group_cipher = wpa_s->mesh_rsn->group_cipher; in wpas_mesh_complete()
450 wpa_s->group_cipher = WPA_CIPHER_NONE; in wpa_supplicant_join_mesh()
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.h231 int group_cipher; member
Dconfig_winreg.c355 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_read_network()
362 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_read_network()
782 if (ssid->group_cipher == DEFAULT_GROUP) in write_group()
Dwps_supplicant.c302 (ssid->group_cipher != new_ssid->group_cipher && in wpas_wps_remove_dup_network()
303 !(ssid->group_cipher & new_ssid->group_cipher & in wpas_wps_remove_dup_network()
494 ssid->group_cipher |= WPA_CIPHER_GCMP; in wpa_supplicant_wps_cred()
499 ssid->group_cipher |= WPA_CIPHER_GCMP_256; in wpa_supplicant_wps_cred()
504 ssid->group_cipher |= WPA_CIPHER_CCMP_256; in wpa_supplicant_wps_cred()
Dconfig_file.c143 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network()
151 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_validate_network()
596 if (ssid->group_cipher == DEFAULT_GROUP) in write_group()
Devents.c566 ie.group_cipher = wpa_default_rsn_cipher(bss->freq); in wpa_supplicant_ssid_bss_match()
569 (ie.group_cipher & (WPA_CIPHER_WEP40 | WPA_CIPHER_WEP104))) in wpa_supplicant_ssid_bss_match()
592 if (!(ie.group_cipher & ssid->group_cipher)) { in wpa_supplicant_ssid_bss_match()
672 (ie.group_cipher & (WPA_CIPHER_WEP40 | WPA_CIPHER_WEP104))) in wpa_supplicant_ssid_bss_match()
694 if (!(ie.group_cipher & ssid->group_cipher)) { in wpa_supplicant_ssid_bss_match()
DREADME-HS20501 group_cipher=CCMP
521 group_cipher=NONE
Dconfig.c1174 if (ssid->group_cipher == val) in wpa_config_parse_group()
1177 ssid->group_cipher = val; in wpa_config_parse_group()
1186 return wpa_config_write_cipher(ssid->group_cipher); in wpa_config_write_group()
2856 ssid->group_cipher = DEFAULT_GROUP; in wpa_config_set_network_defaults()
Dwpa_supplicant_i.h543 int group_cipher; member
Dwpas_glue.c241 wpa_s->group_cipher = cipher; in wpa_eapol_set_wep_key()
/external/wpa_supplicant_8/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()
/external/wpa_supplicant_8/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()
Dap_config.h47 unsigned int group_cipher; member
353 int group_cipher; /* wpa_group value override from configuation */ member
Dap_config.c1168 if (bss->group_cipher) in hostapd_set_security_params()
1169 bss->wpa_group = bss->group_cipher; in hostapd_set_security_params()
/external/wpa_supplicant_8/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()
2107 ie1d.group_cipher == ie2d.group_cipher && in wpa_compare_rsn_ie()
Dwpa_common.h397 int group_cipher; member
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c2957 bss->group_cipher = hostapd_config_parse_cipher(line, pos); in hostapd_config_fill()
2958 if (bss->group_cipher == -1 || bss->group_cipher == 0) in hostapd_config_fill()
2960 if (bss->group_cipher != WPA_CIPHER_TKIP && in hostapd_config_fill()
2961 bss->group_cipher != WPA_CIPHER_CCMP && in hostapd_config_fill()
2962 bss->group_cipher != WPA_CIPHER_GCMP && in hostapd_config_fill()
2963 bss->group_cipher != WPA_CIPHER_GCMP_256 && in hostapd_config_fill()
2964 bss->group_cipher != WPA_CIPHER_CCMP_256) { in hostapd_config_fill()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dsta_network.cpp915 wpa_ssid->group_cipher = group_cipher_mask; in setGroupCipherInternal()
916 wpa_printf(MSG_MSGDUMP, "group_cipher: 0x%x", wpa_ssid->group_cipher); in setGroupCipherInternal()
1348 wpa_ssid->group_cipher & kAllowedGroupCipherMask}; in getGroupCipherInternal()

12