/external/wpa_supplicant_8/src/rsn_supp/ |
D | pmksa_cache.c | 23 struct rsn_pmksa_cache_entry *pmksa; /* PMKSA cache */ member 33 static void pmksa_cache_set_expiration(struct rsn_pmksa_cache *pmksa); 42 static void pmksa_cache_free_entry(struct rsn_pmksa_cache *pmksa, in pmksa_cache_free_entry() argument 46 wpa_sm_remove_pmkid(pmksa->sm, entry->network_ctx, entry->aa, in pmksa_cache_free_entry() 50 pmksa->pmksa_count--; in pmksa_cache_free_entry() 51 pmksa->free_cb(entry, pmksa->ctx, reason); in pmksa_cache_free_entry() 58 struct rsn_pmksa_cache *pmksa = eloop_ctx; in pmksa_cache_expire() local 62 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire() 63 struct rsn_pmksa_cache_entry *entry = pmksa->pmksa; in pmksa_cache_expire() 64 pmksa->pmksa = entry->next; in pmksa_cache_expire() [all …]
|
D | pmksa_cache.h | 61 void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa); 62 struct rsn_pmksa_cache_entry * pmksa_cache_get(struct rsn_pmksa_cache *pmksa, 66 int pmksa_cache_list(struct rsn_pmksa_cache *pmksa, char *buf, size_t len); 67 struct rsn_pmksa_cache_entry * pmksa_cache_head(struct rsn_pmksa_cache *pmksa); 69 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, 74 pmksa_cache_add_entry(struct rsn_pmksa_cache *pmksa, 83 pmksa_cache_get_opportunistic(struct rsn_pmksa_cache *pmksa, 85 void pmksa_cache_flush(struct rsn_pmksa_cache *pmksa, void *network_ctx, 98 static inline void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa) in pmksa_cache_deinit() argument 103 pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid, in pmksa_cache_get() argument [all …]
|
D | preauth.c | 96 pmksa_cache_add(sm->pmksa, pmk, pmk_len, NULL, in rsn_preauth_eapol_cb() 326 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL, NULL, 0); in rsn_preauth_candidate_process() 374 pmksa_cache_get_opportunistic(sm->pmksa, sm->network_ctx, in pmksa_candidate_add() 474 struct rsn_pmksa_cache_entry *pmksa; in rsn_preauth_scan_result() local 486 pmksa = pmksa_cache_get(sm->pmksa, bssid, NULL, NULL, 0); in rsn_preauth_scan_result() 487 if (pmksa && (!pmksa->opportunistic || in rsn_preauth_scan_result()
|
D | wpa.c | 272 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid, in wpa_supplicant_get_pmk() 357 sa = pmksa_cache_add(sm->pmksa, in wpa_supplicant_get_pmk() 366 pmksa_cache_get(sm->pmksa, src_addr, pmkid, NULL, in wpa_supplicant_get_pmk() 1557 sa = pmksa_cache_add(sm->pmksa, sm->pmk, sm->pmk_len, NULL, in wpa_supplicant_process_3_of_4() 2630 sm->pmksa = pmksa_cache_init(wpa_sm_pmksa_free_cb, sm, sm); in wpa_sm_init() 2631 if (sm->pmksa == NULL) { in wpa_sm_init() 2650 pmksa_cache_deinit(sm->pmksa); in wpa_sm_deinit() 2819 pmksa_cache_add(sm->pmksa, pmk, pmk_len, pmkid, NULL, 0, in wpa_sm_set_pmk() 3302 return pmksa_cache_list(sm->pmksa, buf, len); in wpa_sm_pmksa_cache_list() 3308 return pmksa_cache_head(sm->pmksa); in wpa_sm_pmksa_cache_head() [all …]
|
D | wpa_i.h | 41 struct rsn_pmksa_cache *pmksa; /* PMKSA cache */ member
|
/external/wpa_supplicant_8/src/ap/ |
D | pmksa_cache_auth.c | 28 struct rsn_pmksa_cache_entry *pmksa; member 36 static void pmksa_cache_set_expiration(struct rsn_pmksa_cache *pmksa); 51 void pmksa_cache_free_entry(struct rsn_pmksa_cache *pmksa, in pmksa_cache_free_entry() argument 57 pmksa->pmksa_count--; in pmksa_cache_free_entry() 58 pmksa->free_cb(entry, pmksa->ctx); in pmksa_cache_free_entry() 62 pos = pmksa->pmkid[hash]; in pmksa_cache_free_entry() 69 pmksa->pmkid[hash] = entry->hnext; in pmksa_cache_free_entry() 77 pos = pmksa->pmksa; in pmksa_cache_free_entry() 84 pmksa->pmksa = entry->next; in pmksa_cache_free_entry() 99 void pmksa_cache_auth_flush(struct rsn_pmksa_cache *pmksa) in pmksa_cache_auth_flush() argument [all …]
|
D | pmksa_cache_auth.h | 43 void pmksa_cache_auth_deinit(struct rsn_pmksa_cache *pmksa); 45 pmksa_cache_auth_get(struct rsn_pmksa_cache *pmksa, 48 struct rsn_pmksa_cache *pmksa, const u8 *spa, const u8 *aa, 51 pmksa_cache_auth_add(struct rsn_pmksa_cache *pmksa, 61 int pmksa_cache_auth_add_entry(struct rsn_pmksa_cache *pmksa, 64 pmksa_cache_add_okc(struct rsn_pmksa_cache *pmksa, 70 void pmksa_cache_free_entry(struct rsn_pmksa_cache *pmksa, 72 int pmksa_cache_auth_radius_das_disconnect(struct rsn_pmksa_cache *pmksa, 74 int pmksa_cache_auth_list(struct rsn_pmksa_cache *pmksa, char *buf, size_t len); 75 void pmksa_cache_auth_flush(struct rsn_pmksa_cache *pmksa); [all …]
|
D | wpa_auth_ie.c | 514 struct rsn_pmksa_cache_entry *pmksa; member 524 data->pmksa = pmksa_cache_get_okc(a->pmksa, data->aa, data->spa, in wpa_auth_okc_iter() 526 if (data->pmksa) in wpa_auth_okc_iter() 876 sm->pmksa = NULL; in wpa_validate_wpa_ie() 880 sm->pmksa = pmksa_cache_auth_get(wpa_auth->pmksa, sm->addr, in wpa_validate_wpa_ie() 882 if (sm->pmksa) { in wpa_validate_wpa_ie() 883 pmkid = sm->pmksa->pmkid; in wpa_validate_wpa_ie() 887 for (i = 0; sm->pmksa == NULL && wpa_auth->conf.okc && in wpa_validate_wpa_ie() 890 idata.pmksa = NULL; in wpa_validate_wpa_ie() 895 if (idata.pmksa) { in wpa_validate_wpa_ie() [all …]
|
D | wpa_auth.c | 325 if (sm->pmksa == ctx) in wpa_auth_pmksa_clear_cb() 326 sm->pmksa = NULL; in wpa_auth_pmksa_clear_cb() 457 wpa_auth->pmksa = pmksa_cache_auth_init(wpa_auth_pmksa_free_cb, in wpa_init() 459 if (wpa_auth->pmksa == NULL) { in wpa_init() 473 pmksa_cache_auth_deinit(wpa_auth->pmksa); in wpa_init() 530 pmksa_cache_auth_deinit(wpa_auth->pmksa); in wpa_deinit() 1985 if (sm->pmksa) { in SM_STATE() 1987 os_memcpy(sm->PMK, sm->pmksa->pmk, sm->pmksa->pmk_len); in SM_STATE() 1988 sm->pmk_len = sm->pmksa->pmk_len; in SM_STATE() 2065 if (wpa_auth_uses_sae(sm) && sm->pmksa) { in SM_STATE() [all …]
|
D | wpa_auth_i.h | 113 struct rsn_pmksa_cache_entry *pmksa; member 227 struct rsn_pmksa_cache *pmksa; member
|
D | ieee802_11.c | 61 struct rsn_pmksa_cache_entry *pmksa, 1440 struct rsn_pmksa_cache_entry *pmksa = NULL; in handle_auth_fils() local 1580 pmksa = wpa_auth_pmksa_get(hapd->wpa_auth, sta->addr, in handle_auth_fils() 1582 if (pmksa) in handle_auth_fils() 1584 pmksa = wpa_auth_pmksa_get_fils_cache_id(hapd->wpa_auth, in handle_auth_fils() 1587 if (pmksa) in handle_auth_fils() 1593 if (pmksa && wpa_auth_sta_key_mgmt(sta->wpa_sm) != pmksa->akmp) { in handle_auth_fils() 1596 wpa_auth_sta_key_mgmt(sta->wpa_sm), pmksa->akmp); in handle_auth_fils() 1597 pmksa = NULL; in handle_auth_fils() 1599 if (pmksa) in handle_auth_fils() [all …]
|
D | ieee802_1x.c | 943 struct rsn_pmksa_cache_entry *pmksa; in ieee802_1x_receive() local 1067 pmksa = wpa_auth_sta_get_pmksa(sta->wpa_sm); in ieee802_1x_receive() 1068 if (pmksa) { in ieee802_1x_receive() 1073 wpa_auth_sta_clear_pmksa(sta->wpa_sm, pmksa); in ieee802_1x_receive() 1127 struct rsn_pmksa_cache_entry *pmksa; in ieee802_1x_new_station() local 1243 pmksa = wpa_auth_sta_get_pmksa(sta->wpa_sm); in ieee802_1x_new_station() 1244 if (pmksa) { in ieee802_1x_new_station() 1258 pmksa_cache_to_eapol_data(hapd, pmksa, sta->eapol_sm); in ieee802_1x_new_station()
|
D | wpa_auth.h | 397 void wpa_auth_pmksa_set_to_sm(struct rsn_pmksa_cache_entry *pmksa,
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_rsn.c | 358 struct rsn_pmksa_cache_entry *pmksa; in mesh_rsn_auth_sae_sta() local 374 pmksa = wpa_auth_pmksa_get(hapd->wpa_auth, sta->addr, NULL); in mesh_rsn_auth_sae_sta() 375 if (pmksa) { in mesh_rsn_auth_sae_sta() 389 wpa_auth_pmksa_set_to_sm(pmksa, sta->wpa_sm, hapd->wpa_auth, in mesh_rsn_auth_sae_sta()
|
D | README | 757 pmksa = show PMKSA cache
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wext.c | 2322 struct iw_pmksa pmksa; in wpa_driver_wext_pmksa() local 2327 os_memset(&pmksa, 0, sizeof(pmksa)); in wpa_driver_wext_pmksa() 2328 pmksa.cmd = cmd; in wpa_driver_wext_pmksa() 2329 pmksa.bssid.sa_family = ARPHRD_ETHER; in wpa_driver_wext_pmksa() 2331 os_memcpy(pmksa.bssid.sa_data, bssid, ETH_ALEN); in wpa_driver_wext_pmksa() 2333 os_memcpy(pmksa.pmkid, pmkid, IW_PMKID_LEN); in wpa_driver_wext_pmksa() 2334 iwr.u.data.pointer = (caddr_t) &pmksa; in wpa_driver_wext_pmksa() 2335 iwr.u.data.length = sizeof(pmksa); in wpa_driver_wext_pmksa()
|
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/ |
D | wpa_cli.sgml | 257 <term>pmksa</term>
|