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()
126 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_rsn() argument
147 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_rsn()
150 group_cipher); in wpa_gen_wpa_ie_rsn()
268 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_osen() argument
286 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_osen()
289 group_cipher); in wpa_gen_wpa_ie_osen()
336 sm->group_cipher, in wpa_gen_wpa_ie()
[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()
811 keylen = wpa_cipher_key_len(sm->group_cipher); in wpa_ft_process_gtk_subelem()
812 rsc_len = wpa_cipher_rsc_len(sm->group_cipher); in wpa_ft_process_gtk_subelem()
813 alg = wpa_cipher_to_alg(sm->group_cipher); in wpa_ft_process_gtk_subelem()
816 sm->group_cipher); in wpa_ft_process_gtk_subelem()
837 if (sm->group_cipher == WPA_CIPHER_TKIP) { in wpa_ft_process_gtk_subelem()
Dwpa.c855 wpa_cipher_txt(sm->group_cipher)); in wpa_supplicant_key_neg_complete()
996 int group_cipher, in wpa_supplicant_check_group_cipher() argument
1003 *alg = wpa_cipher_to_alg(group_cipher); in wpa_supplicant_check_group_cipher()
1007 group_cipher); in wpa_supplicant_check_group_cipher()
1010 *key_rsc_len = wpa_cipher_rsc_len(group_cipher); in wpa_supplicant_check_group_cipher()
1012 klen = wpa_cipher_key_len(group_cipher); in wpa_supplicant_check_group_cipher()
1016 wpa_cipher_txt(group_cipher), keylen, maxkeylen); in wpa_supplicant_check_group_cipher()
1055 if (sm->group_cipher == WPA_CIPHER_TKIP) { in wpa_supplicant_install_gtk()
1124 rsclen = wpa_cipher_rsc_len(sm->group_cipher); in wpa_supplicant_rsc_relaxation()
1182 if (sm->group_cipher != WPA_CIPHER_GTK_NOT_USED && in wpa_supplicant_pairwise_gtk()
[all …]
Dwpa_i.h101 unsigned int group_cipher; member
/external/wpa_supplicant_8/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()
753 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
Dwpas_glue.c251 wpa_s->group_cipher = cipher; in wpa_eapol_set_wep_key()
1276 ssid->group_cipher &= ~WPA_CIPHER_TKIP; in disable_wpa_wpa2()
1277 if (!(ssid->group_cipher & (WPA_CIPHER_CCMP | WPA_CIPHER_GCMP | in disable_wpa_wpa2()
1279 ssid->group_cipher |= WPA_CIPHER_CCMP; in disable_wpa_wpa2()
1301 (ssid->group_cipher & WPA_CIPHER_TKIP))) { in wpa_supplicant_transition_disable()
1317 (ssid->group_cipher & WPA_CIPHER_TKIP))) { in wpa_supplicant_transition_disable()
1332 (ssid->group_cipher & WPA_CIPHER_TKIP))) { in wpa_supplicant_transition_disable()
Dwpa_supplicant.c182 switch (wpa_s->group_cipher) { in wpa_supplicant_set_wpa_none_key()
202 "WPA-None", wpa_s->group_cipher); in wpa_supplicant_set_wpa_none_key()
420 wpa_s->group_cipher = WPA_CIPHER_NONE; in wpa_supplicant_set_non_wpa_policy()
427 wpa_s->group_cipher = WPA_CIPHER_WEP104; in wpa_supplicant_set_non_wpa_policy()
431 wpa_s->group_cipher = WPA_CIPHER_WEP40; in wpa_supplicant_set_non_wpa_policy()
441 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_GROUP, wpa_s->group_cipher); in wpa_supplicant_set_non_wpa_policy()
1114 wpa_s->group_cipher = 0; in wpa_supplicant_clear_status()
1253 if (!(ie->group_cipher & ssid->group_cipher)) { in wpa_supplicant_suites_from_ai()
1256 ie->group_cipher, ssid->group_cipher); in wpa_supplicant_suites_from_ai()
1288 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()
276 wpa_s->group_cipher = wpa_s->mesh_rsn->group_cipher; in wpas_mesh_complete()
594 wpa_s->group_cipher = WPA_CIPHER_NONE; in wpa_supplicant_join_mesh()
Dconfig_ssid.h252 int group_cipher; member
Dconfig_winreg.c364 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_read_network()
371 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_read_network()
791 if (ssid->group_cipher == DEFAULT_GROUP) in write_group()
Dwps_supplicant.c306 (ssid->group_cipher != new_ssid->group_cipher && in wpas_wps_remove_dup_network()
307 !(ssid->group_cipher & new_ssid->group_cipher & in wpas_wps_remove_dup_network()
498 ssid->group_cipher |= WPA_CIPHER_GCMP; in wpa_supplicant_wps_cred()
503 ssid->group_cipher |= WPA_CIPHER_GCMP_256; in wpa_supplicant_wps_cred()
508 ssid->group_cipher |= WPA_CIPHER_CCMP_256; in wpa_supplicant_wps_cred()
Dconfig_file.c45 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network()
53 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_validate_network()
512 if (ssid->group_cipher == DEFAULT_GROUP) in write_group()
Devents.c591 ie.group_cipher = wpa_default_rsn_cipher(bss->freq); in wpa_supplicant_ssid_bss_match()
595 (ie.group_cipher & (WPA_CIPHER_WEP40 | WPA_CIPHER_WEP104))) in wpa_supplicant_ssid_bss_match()
619 if (!(ie.group_cipher & ssid->group_cipher)) { in wpa_supplicant_ssid_bss_match()
685 (ie.group_cipher & (WPA_CIPHER_WEP40 | WPA_CIPHER_WEP104))) in wpa_supplicant_ssid_bss_match()
708 if (!(ie.group_cipher & ssid->group_cipher)) { in wpa_supplicant_ssid_bss_match()
DREADME-HS20501 group_cipher=CCMP
521 group_cipher=NONE
Dconfig.c1223 if (ssid->group_cipher == val) in wpa_config_parse_group()
1226 ssid->group_cipher = val; in wpa_config_parse_group()
1235 return wpa_config_write_cipher(ssid->group_cipher); in wpa_config_write_group()
3091 ssid->group_cipher = DEFAULT_GROUP; in wpa_config_set_network_defaults()
Dwpa_supplicant_i.h640 int group_cipher; member
/external/wpa_supplicant_8/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()
/external/wpa_supplicant_8/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, data.group_cipher, MAC2STR(sm->addr)); in wpa_validate_wpa_ie()
Dap_config.h48 unsigned int group_cipher; member
367 int group_cipher; /* wpa_group value override from configuation */ member
Dap_config.c1511 if (bss->group_cipher) in hostapd_set_security_params()
1512 bss->wpa_group = bss->group_cipher; in hostapd_set_security_params()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c1549 data->group_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn()
1573 data->group_cipher = WPA_CIPHER_GTK_NOT_USED; in wpa_parse_wpa_ie_rsn()
1595 data->group_cipher = rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn()
1597 if (!wpa_cipher_valid_group(data->group_cipher)) { in wpa_parse_wpa_ie_rsn()
1600 __func__, data->group_cipher, in wpa_parse_wpa_ie_rsn()
1743 data->group_cipher = WPA_CIPHER_TKIP; in wpa_parse_wpa_ie_wpa()
1771 data->group_cipher = wpa_selector_to_bitfield(pos); in wpa_parse_wpa_ie_wpa()
2472 ie1d.group_cipher == ie2d.group_cipher && in wpa_compare_rsn_ie()
3548 if (!data->has_group || data->group_cipher != WPA_CIPHER_GTK_NOT_USED) { in wpa_pasn_validate_rsne()
Dwpa_common.h441 int group_cipher; member
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c2980 bss->group_cipher = hostapd_config_parse_cipher(line, pos);
2981 if (bss->group_cipher == -1 || bss->group_cipher == 0)
2983 if (bss->group_cipher != WPA_CIPHER_TKIP &&
2984 bss->group_cipher != WPA_CIPHER_CCMP &&
2985 bss->group_cipher != WPA_CIPHER_GCMP &&
2986 bss->group_cipher != WPA_CIPHER_GCMP_256 &&
2987 bss->group_cipher != WPA_CIPHER_CCMP_256) {
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
Dsta_network.cpp2340 wpa_ssid->group_cipher = group_cipher_mask; in setGroupCipher_1_4Internal()
2341 wpa_printf(MSG_MSGDUMP, "group_cipher: 0x%x", wpa_ssid->group_cipher); in setGroupCipher_1_4Internal()
2350 wpa_ssid->group_cipher & kAllowedGroupCipherMask}; in getGroupCipher_1_4Internal()

12