Home
last modified time | relevance | path

Searched refs:key_mgmt (Results 1 – 25 of 150) sorted by relevance

123456

/hostap-3.6.0/wpa_supplicant/
Dwpa_supplicant.conf1698 key_mgmt=WPA-PSK
1709 key_mgmt=WPA-PSK
1721 key_mgmt=WPA-EAP
1737 key_mgmt=WPA-EAP
1751 key_mgmt=WPA-EAP
1764 key_mgmt=WPA-EAP
1777 key_mgmt=WPA-EAP
1797 key_mgmt=WPA-PSK WPA-EAP
1814 key_mgmt=WPA-EAP
1824 key_mgmt=WPA-EAP
[all …]
/hostap-3.6.0/src/rsn_supp/
Dwpa_ie.c43 int key_mgmt) in wpa_gen_wpa_ie_wpa() argument
83 if (key_mgmt == WPA_KEY_MGMT_IEEE8021X) { in wpa_gen_wpa_ie_wpa()
85 } else if (key_mgmt == WPA_KEY_MGMT_PSK) { in wpa_gen_wpa_ie_wpa()
87 } else if (key_mgmt == WPA_KEY_MGMT_WPA_NONE) { in wpa_gen_wpa_ie_wpa()
89 } else if (key_mgmt == WPA_KEY_MGMT_CCKM) { in wpa_gen_wpa_ie_wpa()
93 key_mgmt); in wpa_gen_wpa_ie_wpa()
127 int key_mgmt, int mgmt_group_cipher, in wpa_gen_wpa_ie_rsn() argument
171 if (key_mgmt == WPA_KEY_MGMT_IEEE8021X) { in wpa_gen_wpa_ie_rsn()
173 } else if (key_mgmt == WPA_KEY_MGMT_PSK) { in wpa_gen_wpa_ie_rsn()
175 } else if (key_mgmt == WPA_KEY_MGMT_CCKM) { in wpa_gen_wpa_ie_rsn()
[all …]
/hostap-3.6.0/tests/hwsim/
Dtest_bgscan.py20 dev[0].connect("bgscan", key_mgmt="NONE", scan_freq="2412",
22 dev[1].connect("bgscan", key_mgmt="NONE", scan_freq="2412",
25 dev[2].connect("bgscan", key_mgmt="NONE", scan_freq="2412",
30 dev[2].connect("bgscan", key_mgmt="NONE", scan_freq="2412",
35 dev[2].connect("bgscan", key_mgmt="NONE", scan_freq="2412",
40 dev[2].connect("bgscan", key_mgmt="NONE", scan_freq="2412",
80 dev[0].connect("bgscan", ieee80211w="2", key_mgmt="WPA-PSK-SHA256",
98 dev[0].connect("bgscan", key_mgmt="NONE", scan_freq="2412",
113 dev[0].connect("bgscan", key_mgmt="NONE", scan_freq="2412",
127 dev[0].connect("bgscan", key_mgmt="NONE", scan_freq="2412",
[all …]
Dtest_ssid.py18 dev[0].connect("hello", key_mgmt="NONE", scan_freq="2412")
19 dev[1].connect(ssid2="68656c6c6f", key_mgmt="NONE", scan_freq="2412")
24 dev[0].connect(ssid2="0068656c6c6f0a7468657265", key_mgmt="NONE",
26 dev[1].connect(ssid2='P"\\x00hello\\nthere"', key_mgmt="NONE",
32 dev[2].connect(ssid2='P"' + ssid + '"', key_mgmt="NONE", scan_freq="2412")
38 dev[0].connect("1", key_mgmt="NONE", scan_freq="2412")
45 dev[0].connect("1234567890abcdef1234567890ABCDEF", key_mgmt="NONE",
53 dev[0].connect(ssid2=ssid, key_mgmt="NONE", scan_freq="2412")
60 dev[0].connect("testi-åäöÅÄÖ-testi", key_mgmt="NONE", scan_freq="2412")
62 key_mgmt="NONE", scan_freq="2412")
[all …]
Dtest_ap_open.py29 dev[0].connect("open", key_mgmt="NONE", scan_freq="2412",
50 dev[i].connect("open", key_mgmt="NONE", scan_freq="2412",
59 dev[0].connect("open", key_mgmt="NONE", scan_freq="2412")
73 dev[0].connect("open", key_mgmt="NONE", scan_freq="2412")
86 dev[0].connect("open", key_mgmt="NONE", scan_freq="2412")
98 dev[0].connect("open", key_mgmt="NONE", scan_freq="2412",
137 dev[0].connect("open", key_mgmt="NONE", scan_freq="2412",
166 dev[0].connect("open", key_mgmt="NONE", scan_freq="2412", id_str="foo",
178 id = dev[0].connect("unknown", key_mgmt="NONE", scan_freq="2412",
180 dev[0].connect("open", key_mgmt="NONE", scan_freq="2412",
[all …]
Dtest_ap_pmf.py32 key_mgmt = hapd.get_config()['key_mgmt']
33 if key_mgmt.split(' ')[0] != "WPA-PSK-SHA256":
34 raise Exception("Unexpected GET_CONFIG(key_mgmt): " + key_mgmt)
36 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2",
42 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2",
87 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2",
112 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2",
129 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2",
144 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2",
172 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2",
[all …]
Dtest_ap_mixed.py30 dev[0].connect(ssid, key_mgmt="WPA-PSK", proto="WPA", pairwise="TKIP",
32 dev[1].connect(ssid, key_mgmt="WPA-EAP-SHA256", proto="WPA2", eap="GPSK",
38 dev[2].connect(ssid, psk=passphrase, key_mgmt="SAE", scan_freq="2412")
66 dev[0].connect(ssid, key_mgmt="WPA-PSK WPA-PSK-SHA256", psk=passphrase,
68 dev[1].connect(ssid, key_mgmt="WPA-EAP", proto="WPA", eap="GPSK",
73 dev[2].connect(ssid, key_mgmt="WPA-PSK WPA-PSK-SHA256 SAE",
88 dev[0].connect(ssid, key_mgmt="FT-PSK", psk=passphrase, scan_freq="2412")
89 dev[1].connect(ssid, key_mgmt="FT-EAP", eap="GPSK", identity="gpsk user",
93 dev[2].connect(ssid, psk=passphrase, key_mgmt="FT-SAE",
Dtest_sae.py31 key_mgmt = hapd.get_config()['key_mgmt']
32 if key_mgmt.split(' ')[0] != "SAE":
33 raise Exception("Unexpected GET_CONFIG(key_mgmt): " + key_mgmt)
36 id = dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE",
79 dev[0].connect("test-sae", psk=password, key_mgmt="SAE",
99 dev[0].connect("test-sae", psk=password, key_mgmt="SAE",
126 dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE",
155 dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE",
191 id = dev[0].connect("test-sae-groups", psk="12345678", key_mgmt="SAE",
238 dev[0].connect("test-sae-group-nego", psk="12345678", key_mgmt="SAE",
[all …]
Dtest_ap_vlan.py36 dev[0].connect("test-vlan-open", key_mgmt="NONE", scan_freq="2412")
37 dev[1].connect("test-vlan-open", key_mgmt="NONE", scan_freq="2412")
38 dev[2].connect("test-vlan-open", key_mgmt="NONE", scan_freq="2412")
55 dev[0].connect("test-vlan-open", key_mgmt="NONE", scan_freq="2412")
56 dev[1].connect("test-vlan-open", key_mgmt="NONE", scan_freq="2412")
57 dev[2].connect("test-vlan-open", key_mgmt="NONE", scan_freq="2412")
74 dev[0].connect("test-vlan-open", key_mgmt="NONE", scan_freq="2412")
75 dev[1].connect("test-vlan-open", key_mgmt="NONE", scan_freq="2412")
76 dev[2].connect("test-vlan-open", key_mgmt="NONE", scan_freq="2412")
150 dev[0].connect("test-vlan", key_mgmt="WPA-EAP", eap="PAX",
[all …]
Dtest_pasn.py241 dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE", scan_freq="2412")
253 def check_pasn_fils_pmksa_cache(dev, apdev, params, key_mgmt): argument
262 params['wpa_key_mgmt'] = key_mgmt + " PASN"
271 id = dev[0].connect("fils", key_mgmt=key_mgmt,
285 check_pasn_akmp_cipher(dev[0], hapd, key_mgmt, "CCMP")
313 dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE",
322 def check_pasn_fils_kdk(dev, apdev, params, key_mgmt): argument
332 params['wpa_key_mgmt'] = key_mgmt
344 id = dev[0].connect("fils", key_mgmt=key_mgmt,
400 dev[0].connect("test-pasn-sae", psk="12345678", key_mgmt="SAE",
[all …]
Dtest_wep.py24 dev[0].connect("wep-open", key_mgmt="NONE", wep_key0='"hello"',
45 dev[0].connect("wep-shared-key", key_mgmt="NONE", auth_alg="SHARED",
49 dev[1].connect("wep-shared-key", key_mgmt="NONE", auth_alg="OPEN SHARED",
61 dev[0].connect("wep-shared-key", key_mgmt="NONE", auth_alg="SHARED",
78 dev[0].connect("wep-shared-key", key_mgmt="NONE", auth_alg="SHARED",
81 dev[1].connect("wep-shared-key", key_mgmt="NONE", auth_alg="SHARED",
86 id = dev[2].connect("wep-shared-key", key_mgmt="NONE", auth_alg="SHARED",
118 dev[0].connect("test-vht40-wep", scan_freq="5180", key_mgmt="NONE",
141 dev[0].connect("test-he-wep", scan_freq="2412", key_mgmt="NONE",
156 id = dev[0].connect("wep-open", key_mgmt="NONE", wep_key0='"hello"',
Dtest_authsrv.py34 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
47 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
57 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
68 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
78 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
91 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
106 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
118 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
131 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
216 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
[all …]
Dtest_connect_cmd.py26 wpas.connect("sta-connect", key_mgmt="NONE", scan_freq="2412",
42 wpas.connect("sta-connect-wep", key_mgmt="NONE", scan_freq="2412",
60 id = wpas.connect("sta-connect-wep", key_mgmt="NONE", scan_freq="2412",
66 wpas.connect("sta-connect-wep", key_mgmt="NONE", scan_freq="2412",
83 wpas.connect("sta-connect", key_mgmt="NONE", scan_freq="2412")
109 wpas.connect("test-open", key_mgmt="NONE", wait_connect=False)
136 wpas.connect("sta-connect", key_mgmt="NONE", scan_freq="2412",
154 wpas.connect("sta-connect", key_mgmt="NONE", scan_freq="2412")
183 wpas.connect("sta-connect", key_mgmt="NONE", scan_freq="2412")
227 wpas.connect("sta-connect", key_mgmt="NONE", scan_freq="2412",
[all …]
Dtest_owe.py42 id = dev[0].connect("owe", key_mgmt="OWE", ieee80211w="2", scan_freq="2412")
66 dev[0].connect("owe", key_mgmt="OWE", owe_group=str(group))
102 id = dev[0].connect("owe", key_mgmt="OWE")
159 dev[1].connect("owe+psk", key_mgmt="OWE")
222 id = dev[0].connect("owe-test", key_mgmt="OWE", ieee80211w="2",
273 id = dev[0].connect("owe-test", key_mgmt="OWE", ieee80211w="2",
326 id = dev[0].connect("owe-test", key_mgmt="OWE", ieee80211w="2",
345 id = dev[0].connect("owe-test-open", key_mgmt="OWE", ieee80211w="2",
362 id = dev[0].connect("owe-test-open", key_mgmt="OWE", ieee80211w="2",
396 id = dev[0].connect("owe-test", key_mgmt="OWE", ieee80211w="2",
[all …]
Dtest_ap_params.py45 dev[0].connect(ssid, key_mgmt="NONE", scan_freq="2412")
149 dev[0].connect(ssid, key_mgmt="NONE", scan_freq="2412")
151 dev[1].connect(ssid, key_mgmt="NONE", scan_freq="2412")
156 dev[1].connect(ssid, key_mgmt="NONE", scan_freq="2412", wait_connect=False)
157 dev[0].connect(ssid, key_mgmt="NONE", scan_freq="2412")
174 dev[0].connect(ssid, key_mgmt="NONE", scan_freq="2412", wait_connect=False)
176 dev[1].connect(ssid, key_mgmt="NONE", scan_freq="2412")
255 dev[0].connect(ssid, key_mgmt="NONE", scan_freq="2412")
273 dev[0].connect(ssid, key_mgmt="NONE", scan_freq="2412")
275 dev[1].connect(ssid, key_mgmt="NONE", scan_freq="2412")
[all …]
Dtest_ibss.py51 def add_ibss(dev, ssid, psk=None, proto=None, key_mgmt=None, pairwise=None, argument
66 if key_mgmt:
67 dev.set_network(id, "key_mgmt", key_mgmt)
157 key_mgmt = dev[0].get_status_field("key_mgmt")
158 if key_mgmt != "WPA2-PSK":
159 raise Exception("Unexpected STATUS key_mgmt: " + key_mgmt)
257 key_mgmt = dev[0].get_status_field("key_mgmt")
258 if key_mgmt != "WPA-NONE":
259 raise Exception("Unexpected STATUS key_mgmt: " + key_mgmt)
305 id = add_ibss(dev[0], ssid, key_mgmt="NONE", beacon_int="150")
[all …]
Dtest_ieee8021x.py32 dev[0].connect("ieee8021x-wep", key_mgmt="IEEE8021X", eap="PSK",
49 dev[0].connect("ieee8021x-wep", key_mgmt="IEEE8021X", eap="PSK",
66 dev[0].connect("ieee8021x-wep", key_mgmt="IEEE8021X", eapol_flags="1",
79 id = dev[0].connect("ieee8021x-open", key_mgmt="IEEE8021X", eapol_flags="0",
113 dev[0].connect("ieee8021x-wep", key_mgmt="IEEE8021X", eap="PSK",
129 dev[1].connect("ieee8021x-open", key_mgmt="IEEE8021X", eapol_flags="0",
133 id = dev[0].connect("ieee8021x-open", key_mgmt="IEEE8021X", eapol_flags="0",
180 dev[0].connect("ieee8021x-open", key_mgmt="IEEE8021X", eapol_flags="0",
214 dev[0].connect("ieee8021x-open", key_mgmt="IEEE8021X", eapol_flags="0",
256 dev[0].connect("ieee8021x-open", key_mgmt="IEEE8021X", eapol_flags="0",
[all …]
Dtest_tnc.py20 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
28 dev[1].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
36 dev[2].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
54 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
65 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
85 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
104 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
156 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
186 dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP",
Dtest_ap_ht.py54 dev[0].connect("test-ht40", key_mgmt="NONE", scan_freq=freq)
77 dev[0].connect("test-ht", key_mgmt="NONE", scan_freq="2437")
88 wpas.connect("test-ht", key_mgmt="NONE", scan_freq="2437")
136 dev[0].connect("test-ht40", key_mgmt="NONE", scan_freq=freq)
177 dev[0].connect("test-ht40", key_mgmt="NONE", scan_freq=freq)
224 dev[0].connect("test-ht40", key_mgmt="NONE", scan_freq=freq)
264 dev[0].connect("test-ht40", key_mgmt="NONE", scan_freq=freq)
304 dev[0].connect("test-ht40", key_mgmt="NONE", scan_freq=freq)
344 dev[0].connect("test-ht40", key_mgmt="NONE", scan_freq=freq)
384 dev[0].connect("test-ht40", key_mgmt="NONE", scan_freq=freq)
[all …]
Dtest_rrm.py251 dev[0].connect("test", key_mgmt="NONE", scan_freq="2412")
258 dev[0].connect("test2", key_mgmt="NONE", scan_freq="2412")
343 dev[1].connect("test2", key_mgmt="NONE", scan_freq="2412")
356 dev[0].connect("test", key_mgmt="NONE", scan_freq="2412")
381 dev[0].connect("rrm", key_mgmt="NONE", scan_freq="2412")
392 dev[0].connect("rrm", key_mgmt="NONE", scan_freq="2412")
406 dev[0].connect("rrm", key_mgmt="NONE", scan_freq="2412")
437 dev[0].connect("rrm", key_mgmt="NONE", scan_freq="2412")
460 dev[0].connect("rrm", key_mgmt="NONE", scan_freq="2412")
478 dev[0].connect("rrm", key_mgmt="NONE", scan_freq="2412")
[all …]
Dtest_ap_vht.py36 dev[0].connect("vht", key_mgmt="NONE", scan_freq="5180")
101 dev[0].connect("vht", key_mgmt="NONE", scan_freq="5180")
112 wpas.connect("vht", key_mgmt="NONE", scan_freq="5180")
145 dev[0].connect("vht", key_mgmt="NONE",
186 dev[1].connect("vht", key_mgmt="NONE", scan_freq="5180",
188 dev[0].connect("vht", key_mgmt="NONE", scan_freq="5180")
189 dev[2].connect("vht", key_mgmt="NONE", scan_freq="5180",
290 dev.connect("test-vht20", scan_freq="5180", key_mgmt="NONE")
321 dev.connect("test-vht40", scan_freq="5180", key_mgmt="NONE")
408 dev[0].connect("vht", key_mgmt="NONE", scan_freq="5180")
[all …]
Dtest_suite_b.py64 dev[0].connect("test-suite-b", key_mgmt="WPA-EAP-SUITE-B", ieee80211w="2",
144 dev[0].connect("test-suite-b", key_mgmt="WPA-EAP-SUITE-B", ieee80211w="2",
184 dev[0].connect("test-suite-b", key_mgmt="WPA-EAP-SUITE-B-192",
258 dev[0].connect("test-suite-b", key_mgmt="WPA-EAP-SUITE-B-192",
291 dev[0].connect("test-suite-b", key_mgmt="WPA-EAP-SUITE-B-192",
317 dev[0].connect("test-suite-b", key_mgmt="WPA-EAP-SUITE-B",
334 dev[0].connect("test-suite-b", key_mgmt="WPA-EAP-SUITE-B-192",
351 dev[0].connect("test-suite-b", key_mgmt="WPA-EAP-SUITE-B",
370 dev[0].connect("test-suite-b", key_mgmt="WPA-EAP-SUITE-B-192",
420 dev[0].connect("test-suite-b", key_mgmt="WPA-EAP-SUITE-B-192",
[all …]
/hostap-3.6.0/wlantest/
Dsta.c128 sta->key_mgmt = WPA_KEY_MGMT_OSEN; in sta_update_assoc()
135 sta->key_mgmt = 0; in sta_update_assoc()
144 sta->key_mgmt = data.key_mgmt; in sta_update_assoc()
199 sta->key_mgmt == 0 ? "N/A " : "", in sta_update_assoc()
200 sta->key_mgmt & WPA_KEY_MGMT_IEEE8021X ? "EAP " : "", in sta_update_assoc()
201 sta->key_mgmt & WPA_KEY_MGMT_PSK ? "PSK " : "", in sta_update_assoc()
202 sta->key_mgmt & WPA_KEY_MGMT_WPA_NONE ? "WPA-NONE " : "", in sta_update_assoc()
203 sta->key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X ? "FT-EAP " : "", in sta_update_assoc()
204 sta->key_mgmt & WPA_KEY_MGMT_FT_PSK ? "FT-PSK " : "", in sta_update_assoc()
205 sta->key_mgmt & WPA_KEY_MGMT_IEEE8021X_SHA256 ? in sta_update_assoc()
[all …]
Dbss.c245 bss->key_mgmt = 0; in bss_update()
258 bss->key_mgmt |= data.key_mgmt; in bss_update()
273 bss->key_mgmt |= data.key_mgmt; in bss_update()
283 bss->key_mgmt |= WPA_KEY_MGMT_OSEN; in bss_update()
333 bss->key_mgmt == 0 ? "N/A " : "", in bss_update()
334 bss->key_mgmt & WPA_KEY_MGMT_IEEE8021X ? "EAP " : "", in bss_update()
335 bss->key_mgmt & WPA_KEY_MGMT_PSK ? "PSK " : "", in bss_update()
336 bss->key_mgmt & WPA_KEY_MGMT_WPA_NONE ? "WPA-NONE " : "", in bss_update()
337 bss->key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X ? "FT-EAP " : "", in bss_update()
338 bss->key_mgmt & WPA_KEY_MGMT_FT_PSK ? "FT-PSK " : "", in bss_update()
[all …]
/hostap-3.6.0/src/ap/
Dwpa_auth_ie.c595 int ciphers, key_mgmt, res, version; in wpa_validate_wpa_ie() local
624 if (wpa_key_mgmt_ft(data.key_mgmt) && !mdie && in wpa_validate_wpa_ie()
625 !wpa_key_mgmt_only_ft(data.key_mgmt)) { in wpa_validate_wpa_ie()
634 data.key_mgmt &= ~WPA_KEY_MGMT_FT; in wpa_validate_wpa_ie()
640 else if (data.key_mgmt & WPA_KEY_MGMT_IEEE8021X_SUITE_B_192) in wpa_validate_wpa_ie()
642 else if (data.key_mgmt & WPA_KEY_MGMT_IEEE8021X_SUITE_B) in wpa_validate_wpa_ie()
646 else if (data.key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA384) in wpa_validate_wpa_ie()
648 else if (data.key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA256) in wpa_validate_wpa_ie()
651 else if (data.key_mgmt & WPA_KEY_MGMT_FILS_SHA384) in wpa_validate_wpa_ie()
653 else if (data.key_mgmt & WPA_KEY_MGMT_FILS_SHA256) in wpa_validate_wpa_ie()
[all …]

123456