Home
last modified time | relevance | path

Searched refs:pairwise_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
70 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, pairwise_cipher); in wpa_gen_wpa_ie_wpa()
72 (!wpa_cipher_valid_pairwise(pairwise_cipher) && in wpa_gen_wpa_ie_wpa()
73 pairwise_cipher != WPA_CIPHER_NONE)) { in wpa_gen_wpa_ie_wpa()
75 pairwise_cipher); in wpa_gen_wpa_ie_wpa()
109 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_rsn() argument
142 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, pairwise_cipher); in wpa_gen_wpa_ie_rsn()
144 (!wpa_cipher_valid_pairwise(pairwise_cipher) && in wpa_gen_wpa_ie_rsn()
145 pairwise_cipher != WPA_CIPHER_NONE)) { in wpa_gen_wpa_ie_rsn()
147 pairwise_cipher); in wpa_gen_wpa_ie_rsn()
[all …]
Dwpa_ft.c47 sm->key_mgmt, sm->pairwise_cipher); in wpa_derive_ptk_ft()
186 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_ft_gen_req_ies()
188 sm->pairwise_cipher); in wpa_ft_gen_req_ies()
193 sm->pairwise_cipher)); in wpa_ft_gen_req_ies()
321 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_ft_install_ptk()
323 sm->pairwise_cipher); in wpa_ft_install_ptk()
327 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_ft_install_ptk()
328 keylen = wpa_cipher_key_len(sm->pairwise_cipher); in wpa_ft_install_ptk()
478 ptk_name, sm->key_mgmt, sm->pairwise_cipher) < 0) in wpa_ft_process_response()
Dwpa.c185 else if (sm->pairwise_cipher != WPA_CIPHER_TKIP) in wpa_sm_key_request()
512 sm->pairwise_cipher); in wpa_derive_ptk()
576 if (sm->pairwise_cipher == WPA_CIPHER_TKIP) { in wpa_supplicant_process_1_of_4()
637 wpa_cipher_txt(sm->pairwise_cipher), in wpa_supplicant_key_neg_complete()
699 if (sm->pairwise_cipher == WPA_CIPHER_NONE) { in wpa_supplicant_install_ptk()
705 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_supplicant_install_ptk()
708 sm->pairwise_cipher); in wpa_supplicant_install_ptk()
712 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_supplicant_install_ptk()
713 keylen = wpa_cipher_key_len(sm->pairwise_cipher); in wpa_supplicant_install_ptk()
714 rsclen = wpa_cipher_rsc_len(sm->pairwise_cipher); in wpa_supplicant_install_ptk()
[all …]
Dpeerkey.c222 cipher = wpa_pick_pairwise_cipher(ie.pairwise_cipher & in wpa_supplicant_process_smk_m2()
493 cipher = wpa_pick_pairwise_cipher(ie.pairwise_cipher & in wpa_supplicant_process_smk_m5()
1009 if (sm->pairwise_cipher != WPA_CIPHER_TKIP) in wpa_sm_stkstart()
Dwpa_i.h79 unsigned int pairwise_cipher; member
Dtdls.c165 return sm->pairwise_cipher != WPA_CIPHER_NONE; in wpa_tdls_get_privacy()
208 sm->pairwise_cipher); in wpa_tdls_set_key()
1945 cipher = ie.pairwise_cipher; in wpa_tdls_process_tpk_m1()
2329 cipher = ie.pairwise_cipher; in wpa_tdls_process_tpk_m2()
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh.c95 cipher = wpa_pick_pairwise_cipher(ssid->pairwise_cipher, 0); in mesh_config_create()
101 conf->pairwise_cipher = cipher; in mesh_config_create()
375 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_join_mesh()
440 wpa_s->pairwise_cipher = wpa_s->mesh_rsn->pairwise_cipher; in wpa_supplicant_join_mesh()
Dmesh_rsn.c156 conf.wpa_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init()
157 conf.rsn_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init()
235 mesh_rsn->pairwise_cipher = conf->pairwise_cipher; in mesh_rsn_auth_init()
490 sta->mtk_len = wpa_cipher_key_len(wpa_s->mesh_rsn->pairwise_cipher); in mesh_rsn_derive_mtk()
Dwps_supplicant.c217 if (adv.pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_security_workaround()
222 adv.pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_security_workaround()
227 (ssid->pairwise_cipher & WPA_CIPHER_TKIP)) { in wpas_wps_security_workaround()
239 if (ccmp && !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpas_wps_security_workaround()
240 (ssid->pairwise_cipher & WPA_CIPHER_TKIP) && in wpas_wps_security_workaround()
245 ssid->pairwise_cipher |= WPA_CIPHER_CCMP; in wpas_wps_security_workaround()
247 ssid->pairwise_cipher = WPA_CIPHER_CCMP; in wpas_wps_security_workaround()
338 new_ssid->pairwise_cipher |= ssid->pairwise_cipher; in wpas_wps_remove_dup_network()
345 ssid->pairwise_cipher != new_ssid->pairwise_cipher) in wpas_wps_remove_dup_network()
484 ssid->pairwise_cipher = WPA_CIPHER_TKIP; in wpa_supplicant_wps_cred()
[all …]
Dwpa_supplicant.c366 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_set_non_wpa_policy()
372 wpa_s->pairwise_cipher = WPA_CIPHER_WEP104; in wpa_supplicant_set_non_wpa_policy()
376 wpa_s->pairwise_cipher = WPA_CIPHER_WEP40; in wpa_supplicant_set_non_wpa_policy()
385 wpa_s->pairwise_cipher); in wpa_supplicant_set_non_wpa_policy()
936 wpa_s->pairwise_cipher = 0; in wpa_supplicant_clear_status()
1073 if (!(ie->pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_suites_from_ai()
1076 ie->pairwise_cipher, ssid->pairwise_cipher); in wpa_supplicant_suites_from_ai()
1132 (ie.pairwise_cipher & ssid->pairwise_cipher) && in wpa_supplicant_set_suites()
1139 (ie.pairwise_cipher & ssid->pairwise_cipher) && in wpa_supplicant_set_suites()
1149 ie.pairwise_cipher = WPA_CIPHER_CCMP; in wpa_supplicant_set_suites()
[all …]
Dmesh_rsn.h15 unsigned int pairwise_cipher; member
Dconfig_ssid.h191 int pairwise_cipher; member
Dap.c303 bss->wpa_pairwise = ssid->pairwise_cipher; in wpa_supplicant_conf_ap()
644 wpa_s->pairwise_cipher = wpa_pick_pairwise_cipher(ssid->pairwise_cipher, in wpa_supplicant_create_ap()
646 if (wpa_s->pairwise_cipher < 0) { in wpa_supplicant_create_ap()
651 params.pairwise_suite = wpa_s->pairwise_cipher; in wpa_supplicant_create_ap()
Dconfig_winreg.c354 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_read_network()
355 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { in wpa_config_read_network()
758 if (ssid->pairwise_cipher == DEFAULT_PAIRWISE) in write_pairwise()
DREADME-HS20485 pairwise_cipher=CCMP <--- link layer security indication
505 pairwise_cipher=NONE
515 pairwise_cipher (CCMP = secure, NONE = no encryption used).
Dconfig_file.c144 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network()
145 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { in wpa_config_validate_network()
557 if (ssid->pairwise_cipher == DEFAULT_PAIRWISE) in write_pairwise()
Dwpas_glue.c237 wpa_s->pairwise_cipher = cipher; in wpa_eapol_set_wep_key()
1208 conf.allowed_pairwise_cipher = ssid->pairwise_cipher; in wpa_supplicant_rsn_supp_set_config()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c625 parse->pairwise_cipher = data.pairwise_cipher; in wpa_ft_parse_ies()
808 data->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn()
873 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_rsn()
883 data->pairwise_cipher |= rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn()
888 if (data->pairwise_cipher & WPA_CIPHER_AES_128_CMAC) { in wpa_parse_wpa_ie_rsn()
1004 data->pairwise_cipher = WPA_CIPHER_TKIP; in wpa_parse_wpa_ie_wpa()
1043 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_wpa()
1053 data->pairwise_cipher |= wpa_selector_to_bitfield(pos); in wpa_parse_wpa_ie_wpa()
1553 ie1d.pairwise_cipher == ie2d.pairwise_cipher && in wpa_compare_rsn_ie()
Dwpa_common.h378 int pairwise_cipher; member
444 int pairwise_cipher; member
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dwpagui.cpp534 char *pairwise_cipher = NULL, *group_cipher = NULL; in updateStatus() local
575 pairwise_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()
594 encr.append(pairwise_cipher); in updateStatus()
597 } else if (pairwise_cipher) { in updateStatus()
598 encr.append(pairwise_cipher); in updateStatus()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ie.c573 data.pairwise_cipher); in wpa_validate_wpa_ie()
594 data.pairwise_cipher); in wpa_validate_wpa_ie()
666 ciphers = data.pairwise_cipher & wpa_auth->conf.rsn_pairwise; in wpa_validate_wpa_ie()
668 ciphers = data.pairwise_cipher & wpa_auth->conf.wpa_pairwise; in wpa_validate_wpa_ie()
673 data.pairwise_cipher, MAC2STR(sm->addr)); in wpa_validate_wpa_ie()
Dap_config.h45 unsigned int pairwise_cipher; member
/external/syslinux/gpxe/src/include/gpxe/
Dieee80211.h814 u32 pairwise_cipher[1]; member
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers.c3991 if (ie_data->pairwise_cipher & WPA_CIPHER_TKIP) in wpas_dbus_get_bss_security_prop()
3993 if (ie_data->pairwise_cipher & WPA_CIPHER_CCMP) in wpas_dbus_get_bss_security_prop()
3995 if (ie_data->pairwise_cipher & WPA_CIPHER_GCMP) in wpas_dbus_get_bss_security_prop()
3997 if (ie_data->pairwise_cipher & WPA_CIPHER_CCMP_256) in wpas_dbus_get_bss_security_prop()
3999 if (ie_data->pairwise_cipher & WPA_CIPHER_GCMP_256) in wpas_dbus_get_bss_security_prop()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Dsta_network.cpp782 wpa_ssid->pairwise_cipher = pairwise_cipher_mask; in setPairwiseCipherInternal()
784 MSG_MSGDUMP, "pairwise_cipher: 0x%x", wpa_ssid->pairwise_cipher); in setPairwiseCipherInternal()
1187 wpa_ssid->pairwise_cipher & kAllowedPairwisewCipherMask}; in getPairwiseCipherInternal()

12