Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/rsn_supp/
Dpmksa_cache.c79 pmksa->sm->cur_pmksa = NULL; in pmksa_cache_reauth()
100 entry = pmksa->sm->cur_pmksa ? pmksa->sm->cur_pmksa : in pmksa_cache_set_expiration()
229 if (pos == pmksa->sm->cur_pmksa) { in pmksa_cache_add_entry()
480 return sm->cur_pmksa; in pmksa_cache_get_current()
492 if (sm->cur_pmksa) in pmksa_cache_clear_current()
495 sm->cur_pmksa = NULL; in pmksa_cache_clear_current()
529 sm->cur_pmksa = NULL; in pmksa_cache_set_current()
531 sm->cur_pmksa = pmksa_cache_get(pmksa, NULL, pmkid, in pmksa_cache_set_current()
533 if (sm->cur_pmksa == NULL && bssid) in pmksa_cache_set_current()
534 sm->cur_pmksa = pmksa_cache_get(pmksa, bssid, NULL, in pmksa_cache_set_current()
[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.c278 if (pmkid && !sm->cur_pmksa) { in wpa_supplicant_get_pmk()
283 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid, in wpa_supplicant_get_pmk()
285 if (sm->cur_pmksa) { in wpa_supplicant_get_pmk()
295 if (pmkid && sm->cur_pmksa && in wpa_supplicant_get_pmk()
296 os_memcmp_const(pmkid, sm->cur_pmksa->pmkid, PMKID_LEN) == 0) { in wpa_supplicant_get_pmk()
368 if (!sm->cur_pmksa) in wpa_supplicant_get_pmk()
369 sm->cur_pmksa = sa; in wpa_supplicant_get_pmk()
397 if (!sm->cur_pmksa && pmkid && in wpa_supplicant_get_pmk()
404 } else if (sa && !sm->cur_pmksa && pmkid) { in wpa_supplicant_get_pmk()
417 if (!sm->cur_pmksa) in wpa_supplicant_get_pmk()
[all …]
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