Lines Matching refs:pmk
165 sm->pmk, sm->pmk_len); in wpa_supplicant_get_pmk()
173 res = eapol_sm_get_key(sm->eapol, sm->pmk, PMK_LEN); in wpa_supplicant_get_pmk()
179 res = eapol_sm_get_key(sm->eapol, sm->pmk, 16); in wpa_supplicant_get_pmk()
194 "machines", sm->pmk, pmk_len); in wpa_supplicant_get_pmk()
198 pmksa_cache_add(sm->pmksa, sm->pmk, pmk_len, in wpa_supplicant_get_pmk()
359 wpa_pmk_to_ptk(sm->pmk, sm->pmk_len, "Pairwise key expansion", in wpa_derive_ptk()
2010 os_memcmp(sm->pmk, entry->pmk, sm->pmk_len) == 0)) { in wpa_sm_pmksa_free_cb()
2023 os_memset(sm->pmk, 0, sizeof(sm->pmk)); in wpa_sm_pmksa_free_cb()
2169 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len) in wpa_sm_set_pmk() argument
2175 os_memcpy(sm->pmk, pmk, pmk_len); in wpa_sm_set_pmk()
2180 os_memcpy(sm->xxkey, pmk, pmk_len); in wpa_sm_set_pmk()
2199 os_memcpy(sm->pmk, sm->cur_pmksa->pmk, sm->pmk_len); in wpa_sm_set_pmk_from_pmksa()
2202 os_memset(sm->pmk, 0, PMK_LEN); in wpa_sm_set_pmk_from_pmksa()
2636 os_memset(sm->pmk, 0, sizeof(sm->pmk)); in wpa_sm_drop_sa()