/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->aa, entry->pmkid); in pmksa_cache_free_entry() 47 pmksa->pmksa_count--; in pmksa_cache_free_entry() 48 pmksa->free_cb(entry, pmksa->ctx, reason); in pmksa_cache_free_entry() 55 struct rsn_pmksa_cache *pmksa = eloop_ctx; in pmksa_cache_expire() local 59 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire() 60 struct rsn_pmksa_cache_entry *entry = pmksa->pmksa; in pmksa_cache_expire() 61 pmksa->pmksa = entry->next; in pmksa_cache_expire() [all …]
|
D | pmksa_cache.h | 53 void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa); 54 struct rsn_pmksa_cache_entry * pmksa_cache_get(struct rsn_pmksa_cache *pmksa, 57 int pmksa_cache_list(struct rsn_pmksa_cache *pmksa, char *buf, size_t len); 59 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, 67 pmksa_cache_get_opportunistic(struct rsn_pmksa_cache *pmksa, 69 void pmksa_cache_flush(struct rsn_pmksa_cache *pmksa, void *network_ctx, 82 static inline void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa) in pmksa_cache_deinit() argument 87 pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid, in pmksa_cache_get() argument 99 static inline int pmksa_cache_list(struct rsn_pmksa_cache *pmksa, char *buf, in pmksa_cache_list() argument 106 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, in pmksa_cache_add() argument [all …]
|
D | preauth.c | 95 pmksa_cache_add(sm->pmksa, pmk, pmk_len, in rsn_preauth_eapol_cb() 308 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL, NULL); in rsn_preauth_candidate_process() 355 pmksa_cache_get_opportunistic(sm->pmksa, sm->network_ctx, in pmksa_candidate_add() 443 struct rsn_pmksa_cache_entry *pmksa; in rsn_preauth_scan_result() local 455 pmksa = pmksa_cache_get(sm->pmksa, bssid, NULL, NULL); in rsn_preauth_scan_result() 456 if (pmksa && (!pmksa->opportunistic || in rsn_preauth_scan_result()
|
D | wpa.c | 148 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid, in wpa_supplicant_get_pmk() 199 sa = pmksa_cache_add(sm->pmksa, in wpa_supplicant_get_pmk() 206 pmksa_cache_get(sm->pmksa, src_addr, pmkid, NULL)) in wpa_supplicant_get_pmk() 1995 sm->pmksa = pmksa_cache_init(wpa_sm_pmksa_free_cb, sm, sm); in wpa_sm_init() 1996 if (sm->pmksa == NULL) { in wpa_sm_init() 2015 pmksa_cache_deinit(sm->pmksa); in wpa_sm_deinit() 2598 return pmksa_cache_list(sm->pmksa, buf, len); in wpa_sm_pmksa_cache_list() 2629 pmksa_cache_flush(sm->pmksa, network_ctx, NULL, 0); in wpa_sm_pmksa_cache_flush()
|
D | wpa_i.h | 35 struct rsn_pmksa_cache *pmksa; /* PMKSA cache */ member
|
/external/wpa_supplicant_8/src/ap/ |
D | pmksa_cache_auth.c | 27 struct rsn_pmksa_cache_entry *pmksa; member 35 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 56 pmksa->pmksa_count--; in pmksa_cache_free_entry() 57 pmksa->free_cb(entry, pmksa->ctx); in pmksa_cache_free_entry() 58 pos = pmksa->pmkid[PMKID_HASH(entry->pmkid)]; in pmksa_cache_free_entry() 65 pmksa->pmkid[PMKID_HASH(entry->pmkid)] = in pmksa_cache_free_entry() 74 pos = pmksa->pmksa; in pmksa_cache_free_entry() 81 pmksa->pmksa = pos->next; in pmksa_cache_free_entry() 93 struct rsn_pmksa_cache *pmksa = eloop_ctx; in pmksa_cache_expire() local [all …]
|
D | pmksa_cache_auth.h | 40 void pmksa_cache_auth_deinit(struct rsn_pmksa_cache *pmksa); 42 pmksa_cache_auth_get(struct rsn_pmksa_cache *pmksa, 45 struct rsn_pmksa_cache *pmksa, const u8 *spa, const u8 *aa, 48 pmksa_cache_auth_add(struct rsn_pmksa_cache *pmksa, 53 pmksa_cache_add_okc(struct rsn_pmksa_cache *pmksa, 58 void pmksa_cache_free_entry(struct rsn_pmksa_cache *pmksa,
|
D | wpa_auth_ie.c | 358 struct rsn_pmksa_cache_entry *pmksa; member 368 data->pmksa = pmksa_cache_get_okc(a->pmksa, data->aa, data->spa, in wpa_auth_okc_iter() 370 if (data->pmksa) in wpa_auth_okc_iter() 577 sm->pmksa = NULL; in wpa_validate_wpa_ie() 581 sm->pmksa = pmksa_cache_auth_get(wpa_auth->pmksa, sm->addr, in wpa_validate_wpa_ie() 583 if (sm->pmksa) { in wpa_validate_wpa_ie() 584 pmkid = sm->pmksa->pmkid; in wpa_validate_wpa_ie() 588 for (i = 0; sm->pmksa == NULL && wpa_auth->conf.okc && in wpa_validate_wpa_ie() 591 idata.pmksa = NULL; in wpa_validate_wpa_ie() 596 if (idata.pmksa) { in wpa_validate_wpa_ie() [all …]
|
D | wpa_auth.c | 271 if (sm->pmksa == ctx) in wpa_auth_pmksa_clear_cb() 272 sm->pmksa = NULL; in wpa_auth_pmksa_clear_cb() 397 wpa_auth->pmksa = pmksa_cache_auth_init(wpa_auth_pmksa_free_cb, in wpa_init() 399 if (wpa_auth->pmksa == NULL) { in wpa_init() 411 pmksa_cache_auth_deinit(wpa_auth->pmksa); in wpa_init() 460 pmksa_cache_auth_deinit(wpa_auth->pmksa); in wpa_deinit() 1653 if (sm->pmksa) { in SM_STATE() 1655 os_memcpy(sm->PMK, sm->pmksa->pmk, PMK_LEN); in SM_STATE() 1728 if (sm->pmksa) in SM_STATE() 1730 sm->pmksa->pmkid, PMKID_LEN); in SM_STATE() [all …]
|
D | wpa_auth_i.h | 106 struct rsn_pmksa_cache_entry *pmksa; member 185 struct rsn_pmksa_cache *pmksa; member
|
D | ieee802_1x.c | 649 struct rsn_pmksa_cache_entry *pmksa; in ieee802_1x_receive() local 764 pmksa = wpa_auth_sta_get_pmksa(sta->wpa_sm); in ieee802_1x_receive() 765 if (pmksa) { in ieee802_1x_receive() 770 wpa_auth_sta_clear_pmksa(sta->wpa_sm, pmksa); in ieee802_1x_receive() 824 struct rsn_pmksa_cache_entry *pmksa; in ieee802_1x_new_station() local 913 pmksa = wpa_auth_sta_get_pmksa(sta->wpa_sm); in ieee802_1x_new_station() 914 if (pmksa) { in ieee802_1x_new_station() 931 pmksa_cache_to_eapol_data(pmksa, sta->eapol_sm); in ieee802_1x_new_station()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wext.c | 2239 struct iw_pmksa pmksa; in wpa_driver_wext_pmksa() local 2244 os_memset(&pmksa, 0, sizeof(pmksa)); in wpa_driver_wext_pmksa() 2245 pmksa.cmd = cmd; in wpa_driver_wext_pmksa() 2246 pmksa.bssid.sa_family = ARPHRD_ETHER; in wpa_driver_wext_pmksa() 2248 os_memcpy(pmksa.bssid.sa_data, bssid, ETH_ALEN); in wpa_driver_wext_pmksa() 2250 os_memcpy(pmksa.pmkid, pmkid, IW_PMKID_LEN); in wpa_driver_wext_pmksa() 2251 iwr.u.data.pointer = (caddr_t) &pmksa; in wpa_driver_wext_pmksa() 2252 iwr.u.data.length = sizeof(pmksa); in wpa_driver_wext_pmksa()
|
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/ |
D | wpa_cli.sgml | 240 <term>pmksa</term>
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | README | 742 pmksa = show PMKSA cache
|