Home
last modified time | relevance | path

Searched refs:cur_pmksa (Results 1 – 11 of 11) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dpmksa_cache.c100 pmksa->sm->cur_pmksa = NULL; in pmksa_cache_reauth()
140 entry = pmksa->sm->cur_pmksa ? pmksa->sm->cur_pmksa : in pmksa_cache_set_expiration()
270 if (pos == pmksa->sm->cur_pmksa) { in pmksa_cache_add_entry()
526 return sm->cur_pmksa; in pmksa_cache_get_current()
538 if (sm->cur_pmksa) in pmksa_cache_clear_current()
541 sm->cur_pmksa = NULL; in pmksa_cache_clear_current()
575 sm->cur_pmksa = NULL; in pmksa_cache_set_current()
577 sm->cur_pmksa = pmksa_cache_get(pmksa, NULL, pmkid, in pmksa_cache_set_current()
579 if (sm->cur_pmksa == NULL && bssid) in pmksa_cache_set_current()
580 sm->cur_pmksa = pmksa_cache_get(pmksa, bssid, NULL, in pmksa_cache_set_current()
[all …]
Dwpa.c277 if (pmkid && !sm->cur_pmksa) { in wpa_supplicant_get_pmk()
282 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid, in wpa_supplicant_get_pmk()
284 if (sm->cur_pmksa) { in wpa_supplicant_get_pmk()
294 if (pmkid && sm->cur_pmksa && in wpa_supplicant_get_pmk()
295 os_memcmp_const(pmkid, sm->cur_pmksa->pmkid, PMKID_LEN) == 0) { in wpa_supplicant_get_pmk()
367 if (!sm->cur_pmksa) in wpa_supplicant_get_pmk()
368 sm->cur_pmksa = sa; in wpa_supplicant_get_pmk()
396 if (!sm->cur_pmksa && pmkid && in wpa_supplicant_get_pmk()
403 } else if (sa && !sm->cur_pmksa && pmkid) { in wpa_supplicant_get_pmk()
416 if (!sm->cur_pmksa) in wpa_supplicant_get_pmk()
[all …]
Dwpa_ie.c136 (sm->cur_pmksa ? 2 + PMKID_LEN : 0)) { in wpa_gen_wpa_ie_rsn()
236 if (sm->cur_pmksa) { in wpa_gen_wpa_ie_rsn()
241 os_memcpy(pos, sm->cur_pmksa->pmkid, PMKID_LEN); in wpa_gen_wpa_ie_rsn()
246 if (!sm->cur_pmksa) { in wpa_gen_wpa_ie_rsn()
Dwpa_ft.c48 } else if (sm->cur_pmksa) { in wpa_derive_ptk_ft()
49 mpmk = sm->cur_pmksa->pmk; in wpa_derive_ptk_ft()
50 mpmk_len = sm->cur_pmksa->pmk_len; in wpa_derive_ptk_ft()
Dwpa_i.h47 struct rsn_pmksa_cache_entry *cur_pmksa; /* current PMKSA entry */ member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dpmksa_cache.c77 pmksa->sm->cur_pmksa = NULL; in pmksa_cache_reauth()
98 entry = pmksa->sm->cur_pmksa ? pmksa->sm->cur_pmksa : in pmksa_cache_set_expiration()
227 if (pos == pmksa->sm->cur_pmksa) { in pmksa_cache_add_entry()
457 return sm->cur_pmksa; in pmksa_cache_get_current()
469 sm->cur_pmksa = NULL; in pmksa_cache_clear_current()
503 sm->cur_pmksa = NULL; in pmksa_cache_set_current()
505 sm->cur_pmksa = pmksa_cache_get(pmksa, NULL, pmkid, in pmksa_cache_set_current()
507 if (sm->cur_pmksa == NULL && bssid) in pmksa_cache_set_current()
508 sm->cur_pmksa = pmksa_cache_get(pmksa, bssid, NULL, in pmksa_cache_set_current()
510 if (sm->cur_pmksa == NULL && try_opportunistic && bssid) in pmksa_cache_set_current()
[all …]
Dwpa.c267 if (pmkid && !sm->cur_pmksa) { in wpa_supplicant_get_pmk()
272 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid, in wpa_supplicant_get_pmk()
274 if (sm->cur_pmksa) { in wpa_supplicant_get_pmk()
284 if (pmkid && sm->cur_pmksa && in wpa_supplicant_get_pmk()
285 os_memcmp_const(pmkid, sm->cur_pmksa->pmkid, PMKID_LEN) == 0) { in wpa_supplicant_get_pmk()
357 if (!sm->cur_pmksa) in wpa_supplicant_get_pmk()
358 sm->cur_pmksa = sa; in wpa_supplicant_get_pmk()
386 if (!sm->cur_pmksa && pmkid && in wpa_supplicant_get_pmk()
393 } else if (sa && !sm->cur_pmksa && pmkid) { in wpa_supplicant_get_pmk()
406 if (!sm->cur_pmksa) in wpa_supplicant_get_pmk()
[all …]
Dwpa_ie.c120 (sm->cur_pmksa ? 2 + PMKID_LEN : 0)) { in wpa_gen_wpa_ie_rsn()
231 if (sm->cur_pmksa) { in wpa_gen_wpa_ie_rsn()
236 os_memcpy(pos, sm->cur_pmksa->pmkid, PMKID_LEN); in wpa_gen_wpa_ie_rsn()
242 if (!sm->cur_pmksa) { in wpa_gen_wpa_ie_rsn()
Dwpa_ft.c37 } else if (sm->cur_pmksa) { in wpa_derive_ptk_ft()
38 mpmk = sm->cur_pmksa->pmk; in wpa_derive_ptk_ft()
39 mpmk_len = sm->cur_pmksa->pmk_len; in wpa_derive_ptk_ft()
Dwpa_i.h42 struct rsn_pmksa_cache_entry *cur_pmksa; /* current PMKSA entry */ member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Devents.c359 struct rsn_pmksa_cache_entry *cur_pmksa; in wpa_find_assoc_pmkid() local
364 cur_pmksa = pmksa_cache_get_current(wpa_s->wpa); in wpa_find_assoc_pmkid()
365 if (cur_pmksa && !wpa_key_mgmt_sae(cur_pmksa->akmp)) in wpa_find_assoc_pmkid()