Lines Matching refs:pmksa
267 if (sm->pmksa == ctx) in wpa_auth_pmksa_clear_cb()
268 sm->pmksa = NULL; in wpa_auth_pmksa_clear_cb()
411 wpa_auth->pmksa = pmksa_cache_auth_init(wpa_auth_pmksa_free_cb, in wpa_init()
413 if (wpa_auth->pmksa == NULL) { in wpa_init()
425 pmksa_cache_auth_deinit(wpa_auth->pmksa); in wpa_init()
474 pmksa_cache_auth_deinit(wpa_auth->pmksa); in wpa_deinit()
1666 if (sm->pmksa) { in SM_STATE()
1668 os_memcpy(sm->PMK, sm->pmksa->pmk, PMK_LEN); in SM_STATE()
1741 if (sm->pmksa) in SM_STATE()
1743 sm->pmksa->pmkid, PMKID_LEN); in SM_STATE()
2831 if (sm == NULL || sm->pmksa != entry) in wpa_auth_sta_clear_pmksa()
2833 sm->pmksa = NULL; in wpa_auth_sta_clear_pmksa()
2841 return sm ? sm->pmksa : NULL; in wpa_auth_sta_get_pmksa()
2868 if (pmksa_cache_auth_add(sm->wpa_auth->pmksa, pmk, PMK_LEN, in wpa_auth_pmksa_add()
2885 if (pmksa_cache_auth_add(wpa_auth->pmksa, pmk, len, wpa_auth->addr, in wpa_auth_pmksa_add_preauth()