Home
last modified time | relevance | path

Searched refs:pairwise_cipher (Results 1 – 25 of 43) sorted by relevance

12

/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
Dwpa_ie.c63 data->pairwise_cipher = WPA_CIPHER_TKIP; in wpa_parse_wpa_ie_wpa()
107 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_wpa()
117 data->pairwise_cipher |= wpa_selector_to_bitfield(pos); in wpa_parse_wpa_ie_wpa()
183 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_wpa() argument
216 if (pairwise_cipher == WPA_CIPHER_CCMP) { in wpa_gen_wpa_ie_wpa()
218 } else if (pairwise_cipher == WPA_CIPHER_TKIP) { in wpa_gen_wpa_ie_wpa()
220 } else if (pairwise_cipher == WPA_CIPHER_NONE) { in wpa_gen_wpa_ie_wpa()
224 pairwise_cipher); in wpa_gen_wpa_ie_wpa()
255 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_rsn() argument
294 if (pairwise_cipher == WPA_CIPHER_CCMP) { in wpa_gen_wpa_ie_rsn()
[all …]
Dwpa_ft.c163 if (sm->pairwise_cipher == WPA_CIPHER_CCMP) in wpa_ft_gen_req_ies()
165 else if (sm->pairwise_cipher == WPA_CIPHER_TKIP) in wpa_ft_gen_req_ies()
169 sm->pairwise_cipher); in wpa_ft_gen_req_ies()
401 switch (sm->pairwise_cipher) { in wpa_ft_install_ptk()
412 sm->pairwise_cipher); in wpa_ft_install_ptk()
548 ptk_len = sm->pairwise_cipher == WPA_CIPHER_CCMP ? 48 : 64; in wpa_ft_process_response()
Dwpa.c150 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()
467 wpa_cipher_txt(sm->pairwise_cipher), in wpa_supplicant_key_neg_complete()
522 switch (sm->pairwise_cipher) { in wpa_supplicant_install_ptk()
539 sm->pairwise_cipher); in wpa_supplicant_install_ptk()
650 if (sm->pairwise_cipher == WPA_CIPHER_NONE) { in wpa_supplicant_install_gtk()
676 if (tx && sm->pairwise_cipher != WPA_CIPHER_NONE) { in wpa_supplicant_gtk_tx_bit_workaround()
989 switch (sm->pairwise_cipher) { in wpa_supplicant_process_3_of_4()
1528 if (sm->pairwise_cipher == WPA_CIPHER_CCMP && in wpa_sm_rx_eapol()
1811 RSN_SUITE_ARG(wpa_cipher_suite(sm, sm->pairwise_cipher)), in wpa_sm_get_mib()
[all …]
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ie.c39 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_wpa() argument
72 if (pairwise_cipher == WPA_CIPHER_CCMP) { in wpa_gen_wpa_ie_wpa()
74 } else if (pairwise_cipher == WPA_CIPHER_TKIP) { in wpa_gen_wpa_ie_wpa()
76 } else if (pairwise_cipher == WPA_CIPHER_NONE) { in wpa_gen_wpa_ie_wpa()
80 pairwise_cipher); in wpa_gen_wpa_ie_wpa()
111 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_rsn() argument
150 if (pairwise_cipher == WPA_CIPHER_CCMP) { in wpa_gen_wpa_ie_rsn()
152 } else if (pairwise_cipher == WPA_CIPHER_TKIP) { in wpa_gen_wpa_ie_rsn()
154 } else if (pairwise_cipher == WPA_CIPHER_NONE) { in wpa_gen_wpa_ie_rsn()
158 pairwise_cipher); in wpa_gen_wpa_ie_rsn()
[all …]
Dwpa_ft.c191 if (sm->pairwise_cipher == WPA_CIPHER_CCMP) in wpa_ft_gen_req_ies()
193 else if (sm->pairwise_cipher == WPA_CIPHER_TKIP) in wpa_ft_gen_req_ies()
197 sm->pairwise_cipher); in wpa_ft_gen_req_ies()
326 switch (sm->pairwise_cipher) { in wpa_ft_install_ptk()
337 sm->pairwise_cipher); in wpa_ft_install_ptk()
486 ptk_len = sm->pairwise_cipher == WPA_CIPHER_CCMP ? 48 : 64; in wpa_ft_process_response()
Dwpa.c94 else if (sm->pairwise_cipher == WPA_CIPHER_CCMP) in wpa_sm_key_request()
353 size_t ptk_len = sm->pairwise_cipher == WPA_CIPHER_CCMP ? 48 : 64; in wpa_derive_ptk()
460 wpa_cipher_txt(sm->pairwise_cipher), in wpa_supplicant_key_neg_complete()
517 switch (sm->pairwise_cipher) { in wpa_supplicant_install_ptk()
535 sm->pairwise_cipher); in wpa_supplicant_install_ptk()
650 if (sm->pairwise_cipher == WPA_CIPHER_NONE) { in wpa_supplicant_install_gtk()
676 if (tx && sm->pairwise_cipher != WPA_CIPHER_NONE) { in wpa_supplicant_gtk_tx_bit_workaround()
1119 switch (sm->pairwise_cipher) { in wpa_supplicant_process_3_of_4()
1698 if (sm->pairwise_cipher == WPA_CIPHER_CCMP && in wpa_sm_rx_eapol()
1988 RSN_SUITE_ARG(wpa_cipher_suite(sm, sm->pairwise_cipher)), in wpa_sm_get_mib()
[all …]
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ie.c454 if (data.pairwise_cipher & WPA_CIPHER_CCMP) in wpa_validate_wpa_ie()
456 else if (data.pairwise_cipher & WPA_CIPHER_TKIP) in wpa_validate_wpa_ie()
458 else if (data.pairwise_cipher & WPA_CIPHER_WEP104) in wpa_validate_wpa_ie()
460 else if (data.pairwise_cipher & WPA_CIPHER_WEP40) in wpa_validate_wpa_ie()
462 else if (data.pairwise_cipher & WPA_CIPHER_NONE) in wpa_validate_wpa_ie()
489 if (data.pairwise_cipher & WPA_CIPHER_CCMP) in wpa_validate_wpa_ie()
491 else if (data.pairwise_cipher & WPA_CIPHER_TKIP) in wpa_validate_wpa_ie()
493 else if (data.pairwise_cipher & WPA_CIPHER_WEP104) in wpa_validate_wpa_ie()
495 else if (data.pairwise_cipher & WPA_CIPHER_WEP40) in wpa_validate_wpa_ie()
497 else if (data.pairwise_cipher & WPA_CIPHER_NONE) in wpa_validate_wpa_ie()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui/
Dwpagui.ui.h307 char *pairwise_cipher = NULL, *group_cipher = NULL; in updateStatus() local
341 pairwise_cipher = pos; in updateStatus()
352 if (pairwise_cipher || group_cipher) { in updateStatus()
354 if (pairwise_cipher && group_cipher && in updateStatus()
355 strcmp(pairwise_cipher, group_cipher) != 0) { in updateStatus()
356 encr.append(pairwise_cipher); in updateStatus()
359 } else if (pairwise_cipher) { in updateStatus()
360 encr.append(pairwise_cipher); in updateStatus()
/external/wpa_supplicant_6/wpa_supplicant/
Dwpa_supplicant.c313 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_set_non_wpa_policy()
319 wpa_s->pairwise_cipher = WPA_CIPHER_WEP104; in wpa_supplicant_set_non_wpa_policy()
323 wpa_s->pairwise_cipher = WPA_CIPHER_WEP40; in wpa_supplicant_set_non_wpa_policy()
332 wpa_s->pairwise_cipher); in wpa_supplicant_set_non_wpa_policy()
538 wpa_s->pairwise_cipher = 0; in wpa_supplicant_clear_status()
695 if (!(ie->pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_suites_from_ai()
698 ie->pairwise_cipher, ssid->pairwise_cipher); in wpa_supplicant_suites_from_ai()
754 (ie.pairwise_cipher & ssid->pairwise_cipher) && in wpa_supplicant_set_suites()
761 (ie.pairwise_cipher & ssid->pairwise_cipher) && in wpa_supplicant_set_suites()
776 ie.pairwise_cipher = ssid->pairwise_cipher; in wpa_supplicant_set_suites()
[all …]
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()
148 (ssid->pairwise_cipher & WPA_CIPHER_TKIP)) { in wpas_wps_security_workaround()
160 if (ccmp && !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpas_wps_security_workaround()
161 (ssid->pairwise_cipher & WPA_CIPHER_TKIP) && 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()
303 ssid->pairwise_cipher = WPA_CIPHER_TKIP; in wpa_supplicant_wps_cred()
306 ssid->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_supplicant_wps_cred()
Dconfig_ssid.h142 int pairwise_cipher; member
Devents.c306 if (!(ie.pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_ssid_bss_match()
351 if (!(ie.pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_ssid_bss_match()
Dwpas_glue.c204 wpa_s->pairwise_cipher = cipher; in wpa_eapol_set_wep_key()
632 conf.allowed_pairwise_cipher = ssid->pairwise_cipher; in wpa_supplicant_rsn_supp_set_config()
Dconfig_winreg.c341 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_read_network()
342 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { in wpa_config_read_network()
711 if (ssid->pairwise_cipher == DEFAULT_PAIRWISE) in write_pairwise()
Dconfig_file.c117 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network()
118 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { in wpa_config_validate_network()
656 if (ssid->pairwise_cipher == DEFAULT_PAIRWISE) in write_pairwise()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c398 data->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn()
452 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_rsn()
462 data->pairwise_cipher |= rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn()
467 if (data->pairwise_cipher & WPA_CIPHER_AES_128_CMAC) { in wpa_parse_wpa_ie_rsn()
588 data->pairwise_cipher = WPA_CIPHER_TKIP; in wpa_parse_wpa_ie_wpa()
632 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_wpa()
642 data->pairwise_cipher |= wpa_selector_to_bitfield(pos); in wpa_parse_wpa_ie_wpa()
980 ie1d.pairwise_cipher == ie2d.pairwise_cipher && in wpa_compare_rsn_ie()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant.c321 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_set_non_wpa_policy()
327 wpa_s->pairwise_cipher = WPA_CIPHER_WEP104; in wpa_supplicant_set_non_wpa_policy()
331 wpa_s->pairwise_cipher = WPA_CIPHER_WEP40; in wpa_supplicant_set_non_wpa_policy()
340 wpa_s->pairwise_cipher); in wpa_supplicant_set_non_wpa_policy()
667 wpa_s->pairwise_cipher = 0; in wpa_supplicant_clear_status()
841 if (!(ie->pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_suites_from_ai()
844 ie->pairwise_cipher, ssid->pairwise_cipher); in wpa_supplicant_suites_from_ai()
899 (ie.pairwise_cipher & ssid->pairwise_cipher) && in wpa_supplicant_set_suites()
906 (ie.pairwise_cipher & ssid->pairwise_cipher) && in wpa_supplicant_set_suites()
921 ie.pairwise_cipher = ssid->pairwise_cipher; in wpa_supplicant_set_suites()
[all …]
Dap.c154 bss->wpa_pairwise = ssid->pairwise_cipher; in wpa_supplicant_conf_ap()
428 if (ssid->pairwise_cipher & WPA_CIPHER_CCMP) in wpa_supplicant_create_ap()
429 wpa_s->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_supplicant_create_ap()
430 else if (ssid->pairwise_cipher & WPA_CIPHER_TKIP) in wpa_supplicant_create_ap()
431 wpa_s->pairwise_cipher = WPA_CIPHER_TKIP; in wpa_supplicant_create_ap()
432 else if (ssid->pairwise_cipher & WPA_CIPHER_NONE) in wpa_supplicant_create_ap()
433 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_create_ap()
439 params.pairwise_suite = cipher_suite2driver(wpa_s->pairwise_cipher); in wpa_supplicant_create_ap()
Dwps_supplicant.c141 if (adv.pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_security_workaround()
146 adv.pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_security_workaround()
151 (ssid->pairwise_cipher & WPA_CIPHER_TKIP)) { in wpas_wps_security_workaround()
163 if (ccmp && !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpas_wps_security_workaround()
164 (ssid->pairwise_cipher & WPA_CIPHER_TKIP) && in wpas_wps_security_workaround()
169 ssid->pairwise_cipher |= WPA_CIPHER_CCMP; in wpas_wps_security_workaround()
171 ssid->pairwise_cipher = WPA_CIPHER_CCMP; in wpas_wps_security_workaround()
320 ssid->pairwise_cipher = WPA_CIPHER_TKIP; in wpa_supplicant_wps_cred()
323 ssid->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_supplicant_wps_cred()
1578 if (ssid->pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_er_set_config()
Dconfig_ssid.h145 int pairwise_cipher; member
Dconfig_file.c108 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network()
109 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { in wpa_config_validate_network()
414 if (ssid->pairwise_cipher == DEFAULT_PAIRWISE) in write_pairwise()
Dconfig_winreg.c355 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_read_network()
356 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { in wpa_config_read_network()
748 if (ssid->pairwise_cipher == DEFAULT_PAIRWISE) in write_pairwise()
/external/wpa_supplicant_6/wpa_supplicant/src/common/
Dwpa_common.c254 data->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn()
308 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_rsn()
318 data->pairwise_cipher |= rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn()
323 if (data->pairwise_cipher & WPA_CIPHER_AES_128_CMAC) { in wpa_parse_wpa_ie_rsn()
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui-qt4/
Dwpagui.cpp502 char *pairwise_cipher = NULL, *group_cipher = NULL; in updateStatus() local
536 pairwise_cipher = pos; in updateStatus()
547 if (pairwise_cipher || group_cipher) { in updateStatus()
549 if (pairwise_cipher && group_cipher && in updateStatus()
550 strcmp(pairwise_cipher, group_cipher) != 0) { in updateStatus()
551 encr.append(pairwise_cipher); in updateStatus()
554 } else if (pairwise_cipher) { in updateStatus()
555 encr.append(pairwise_cipher); in updateStatus()
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dwpagui.cpp521 char *pairwise_cipher = NULL, *group_cipher = NULL; in updateStatus() local
556 pairwise_cipher = pos; in updateStatus()
571 if (pairwise_cipher || group_cipher) { in updateStatus()
573 if (pairwise_cipher && group_cipher && in updateStatus()
574 strcmp(pairwise_cipher, group_cipher) != 0) { in updateStatus()
575 encr.append(pairwise_cipher); in updateStatus()
578 } else if (pairwise_cipher) { in updateStatus()
579 encr.append(pairwise_cipher); in updateStatus()

12