Home
last modified time | relevance | path

Searched refs:WPA_CIPHER_CCMP (Results 1 – 21 of 21) sorted by relevance

/external/wpa_supplicant/
Dconfig_ssid.h26 #define WPA_CIPHER_CCMP BIT(4) macro
55 #define DEFAULT_PAIRWISE (WPA_CIPHER_CCMP | WPA_CIPHER_TKIP)
56 #define DEFAULT_GROUP (WPA_CIPHER_CCMP | WPA_CIPHER_TKIP | \
Dwpa.c244 case WPA_CIPHER_CCMP: in wpa_cipher_txt()
286 return WPA_CIPHER_CCMP; in wpa_selector_to_bitfield()
317 return WPA_CIPHER_CCMP; in rsn_selector_to_bitfield()
482 data->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn()
483 data->group_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn()
669 if (group_cipher == WPA_CIPHER_CCMP) { in wpa_gen_wpa_ie_wpa()
686 if (pairwise_cipher == WPA_CIPHER_CCMP) { in wpa_gen_wpa_ie_wpa()
746 if (group_cipher == WPA_CIPHER_CCMP) { in wpa_gen_wpa_ie_rsn()
763 if (pairwise_cipher == WPA_CIPHER_CCMP) { in wpa_gen_wpa_ie_rsn()
988 if (sm->pairwise_cipher == WPA_CIPHER_CCMP) in wpa_sm_key_request()
[all …]
Dconfig_file.c115 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network()
116 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network()
122 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_validate_network()
Dconfig_winreg.c274 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_read_network()
275 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_read_network()
281 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_read_network()
Dwpa_supplicant.c334 case WPA_CIPHER_CCMP: in wpa_supplicant_set_wpa_none_key()
1129 case WPA_CIPHER_CCMP: in cipher_suite2driver()
1283 if (sel & WPA_CIPHER_CCMP) { in wpa_supplicant_set_suites()
1284 wpa_s->group_cipher = WPA_CIPHER_CCMP; in wpa_supplicant_set_suites()
1301 if (sel & WPA_CIPHER_CCMP) { in wpa_supplicant_set_suites()
1302 wpa_s->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_supplicant_set_suites()
Dconfig.c606 val |= WPA_CIPHER_CCMP; in wpa_config_parse_cipher()
647 if (cipher & WPA_CIPHER_CCMP) { in wpa_config_write_cipher()
709 if (val & ~(WPA_CIPHER_CCMP | WPA_CIPHER_TKIP | WPA_CIPHER_NONE)) { in wpa_config_parse_pairwise()
736 if (val & ~(WPA_CIPHER_CCMP | WPA_CIPHER_TKIP | WPA_CIPHER_WEP104 | in wpa_config_parse_group()
Dctrl_iface.c460 if (cipher & WPA_CIPHER_CCMP) { in wpa_supplicant_cipher_txt()
/external/wpa_supplicant_6/wpa_supplicant/tests/
Dtest_wpa.c216 wpa_sm_set_param(wpa->supp, WPA_PARAM_PAIRWISE, WPA_CIPHER_CCMP); in supp_init()
217 wpa_sm_set_param(wpa->supp, WPA_PARAM_GROUP, WPA_CIPHER_CCMP); in supp_init()
299 conf.wpa_pairwise = WPA_CIPHER_CCMP; in auth_init_group()
300 conf.rsn_pairwise = WPA_CIPHER_CCMP; in auth_init_group()
301 conf.wpa_group = WPA_CIPHER_CCMP; in auth_init_group()
/external/wpa_supplicant_6/wpa_supplicant/
Dconfig_ssid.h29 #define DEFAULT_PAIRWISE (WPA_CIPHER_CCMP | WPA_CIPHER_TKIP)
30 #define DEFAULT_GROUP (WPA_CIPHER_CCMP | WPA_CIPHER_TKIP | \
Dwps_supplicant.c138 if (adv.pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_security_workaround()
143 adv.pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_security_workaround()
160 if (ccmp && !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpas_wps_security_workaround()
166 ssid->pairwise_cipher |= WPA_CIPHER_CCMP; in wpas_wps_security_workaround()
168 ssid->pairwise_cipher = WPA_CIPHER_CCMP; in wpas_wps_security_workaround()
306 ssid->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_supplicant_wps_cred()
Dwpa_supplicant.c162 case WPA_CIPHER_CCMP: in wpa_supplicant_set_wpa_none_key()
644 case WPA_CIPHER_CCMP: in cipher_suite2driver()
819 if (sel & WPA_CIPHER_CCMP) { in wpa_supplicant_set_suites()
820 wpa_s->group_cipher = WPA_CIPHER_CCMP; in wpa_supplicant_set_suites()
837 if (sel & WPA_CIPHER_CCMP) { in wpa_supplicant_set_suites()
838 wpa_s->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_supplicant_set_suites()
Dconfig_winreg.c340 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_read_network()
341 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_read_network()
347 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_read_network()
Dconfig_file.c118 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network()
119 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network()
125 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_validate_network()
Dconfig.c685 val |= WPA_CIPHER_CCMP; in wpa_config_parse_cipher()
727 if (cipher & WPA_CIPHER_CCMP) { in wpa_config_write_cipher()
790 if (val & ~(WPA_CIPHER_CCMP | WPA_CIPHER_TKIP | WPA_CIPHER_NONE)) { in wpa_config_parse_pairwise()
819 if (val & ~(WPA_CIPHER_CCMP | WPA_CIPHER_TKIP | WPA_CIPHER_WEP104 | in wpa_config_parse_group()
Dctrl_iface.c616 if (cipher & WPA_CIPHER_CCMP) { in wpa_supplicant_cipher_txt()
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
Dwpa_ie.c34 return WPA_CIPHER_CCMP; in wpa_selector_to_bitfield()
199 if (group_cipher == WPA_CIPHER_CCMP) { in wpa_gen_wpa_ie_wpa()
216 if (pairwise_cipher == WPA_CIPHER_CCMP) { in wpa_gen_wpa_ie_wpa()
277 if (group_cipher == WPA_CIPHER_CCMP) { in wpa_gen_wpa_ie_rsn()
294 if (pairwise_cipher == WPA_CIPHER_CCMP) { in wpa_gen_wpa_ie_rsn()
Dpeerkey.c226 if (cipher & WPA_CIPHER_CCMP) { in wpa_supplicant_process_smk_m2()
228 cipher = WPA_CIPHER_CCMP; in wpa_supplicant_process_smk_m2()
275 if (cipher == WPA_CIPHER_CCMP) in wpa_supplicant_process_smk_m2()
352 if (peerkey->cipher == WPA_CIPHER_CCMP) in wpa_supplicant_send_stk_1_of_4()
360 if (peerkey->cipher == WPA_CIPHER_CCMP) in wpa_supplicant_send_stk_1_of_4()
411 if (peerkey->cipher == WPA_CIPHER_CCMP) in wpa_supplicant_send_stk_3_of_4()
420 if (peerkey->cipher == WPA_CIPHER_CCMP) in wpa_supplicant_send_stk_3_of_4()
505 if (cipher & WPA_CIPHER_CCMP) { in wpa_supplicant_process_smk_m5()
507 peerkey->cipher = WPA_CIPHER_CCMP; in wpa_supplicant_process_smk_m5()
1022 if (sm->pairwise_cipher == WPA_CIPHER_CCMP) in wpa_sm_stkstart()
[all …]
Dwpa_ft.c146 if (sm->group_cipher == WPA_CIPHER_CCMP) in wpa_ft_gen_req_ies()
163 if (sm->pairwise_cipher == WPA_CIPHER_CCMP) in wpa_ft_gen_req_ies()
402 case WPA_CIPHER_CCMP: in wpa_ft_install_ptk()
548 ptk_len = sm->pairwise_cipher == WPA_CIPHER_CCMP ? 48 : 64; in wpa_ft_process_response()
623 case WPA_CIPHER_CCMP: in wpa_ft_process_gtk_subelem()
Dwpa.c47 case WPA_CIPHER_CCMP: in wpa_cipher_txt()
150 else if (sm->pairwise_cipher == WPA_CIPHER_CCMP) in wpa_sm_key_request()
362 size_t ptk_len = sm->pairwise_cipher == WPA_CIPHER_CCMP ? 48 : 64; in wpa_derive_ptk()
523 case WPA_CIPHER_CCMP: in wpa_supplicant_install_ptk()
575 case WPA_CIPHER_CCMP: in wpa_supplicant_check_group_cipher()
990 case WPA_CIPHER_CCMP: in wpa_supplicant_process_3_of_4()
1528 if (sm->pairwise_cipher == WPA_CIPHER_CCMP && in wpa_sm_rx_eapol()
1532 if (sm->group_cipher != WPA_CIPHER_CCMP && in wpa_sm_rx_eapol()
1675 case WPA_CIPHER_CCMP: in wpa_cipher_bits()
1723 case WPA_CIPHER_CCMP: in wpa_cipher_suite()
/external/wpa_supplicant_6/wpa_supplicant/src/common/
Dwpa_common.c202 return WPA_CIPHER_CCMP; in rsn_selector_to_bitfield()
254 data->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn()
255 data->group_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn()
Ddefs.h31 #define WPA_CIPHER_CCMP BIT(4) macro