/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, replace); 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 | 47 void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa); 48 struct rsn_pmksa_cache_entry * pmksa_cache_get(struct rsn_pmksa_cache *pmksa, 51 int pmksa_cache_list(struct rsn_pmksa_cache *pmksa, char *buf, size_t len); 53 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, 61 pmksa_cache_get_opportunistic(struct rsn_pmksa_cache *pmksa, 63 void pmksa_cache_flush(struct rsn_pmksa_cache *pmksa, void *network_ctx); 75 static inline void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa) in pmksa_cache_deinit() argument 80 pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid, in pmksa_cache_get() argument 92 static inline int pmksa_cache_list(struct rsn_pmksa_cache *pmksa, char *buf, in pmksa_cache_list() argument 99 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() 198 pmksa_cache_add(sm->pmksa, sm->pmk, pmk_len, in wpa_supplicant_get_pmk() 203 pmksa_cache_get(sm->pmksa, src_addr, pmkid, NULL)) in wpa_supplicant_get_pmk() 2052 sm->pmksa = pmksa_cache_init(wpa_sm_pmksa_free_cb, sm, sm); in wpa_sm_init() 2053 if (sm->pmksa == NULL) { in wpa_sm_init() 2072 pmksa_cache_deinit(sm->pmksa); in wpa_sm_deinit() 2624 return pmksa_cache_list(sm->pmksa, buf, len); in wpa_sm_pmksa_cache_list() 2659 pmksa_cache_flush(sm->pmksa, network_ctx); in wpa_sm_pmksa_cache_flush()
|
D | wpa_i.h | 35 struct rsn_pmksa_cache *pmksa; /* PMKSA cache */ member
|
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
D | pmksa_cache.c | 31 struct rsn_pmksa_cache_entry *pmksa; /* PMKSA cache */ member 74 static void pmksa_cache_set_expiration(struct rsn_pmksa_cache *pmksa); 83 static void pmksa_cache_free_entry(struct rsn_pmksa_cache *pmksa, in pmksa_cache_free_entry() argument 87 pmksa->pmksa_count--; in pmksa_cache_free_entry() 88 pmksa->free_cb(entry, pmksa->ctx, replace); in pmksa_cache_free_entry() 95 struct rsn_pmksa_cache *pmksa = eloop_ctx; in pmksa_cache_expire() local 99 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire() 100 struct rsn_pmksa_cache_entry *entry = pmksa->pmksa; in pmksa_cache_expire() 101 pmksa->pmksa = entry->next; in pmksa_cache_expire() 104 pmksa_cache_free_entry(pmksa, entry, 0); 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, 58 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, 60 void pmksa_cache_notify_reconfig(struct rsn_pmksa_cache *pmksa); 67 pmksa_cache_get_opportunistic(struct rsn_pmksa_cache *pmksa, 80 static inline void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa) in pmksa_cache_deinit() argument 85 pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid) in pmksa_cache_get() argument 102 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, in pmksa_cache_add() argument 108 static inline void pmksa_cache_notify_reconfig(struct rsn_pmksa_cache *pmksa) in pmksa_cache_notify_reconfig() argument
|
D | preauth.c | 105 pmksa_cache_add(sm->pmksa, pmk, pmk_len, in rsn_preauth_eapol_cb() 318 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL); in rsn_preauth_candidate_process() 365 pmksa_cache_get_opportunistic(sm->pmksa, sm->network_ctx, in pmksa_candidate_add() 439 struct rsn_pmksa_cache_entry *pmksa; in rsn_preauth_scan_results() local 467 pmksa = pmksa_cache_get(sm->pmksa, r->bssid, NULL); in rsn_preauth_scan_results() 468 if (pmksa && in rsn_preauth_scan_results() 469 (!pmksa->opportunistic || in rsn_preauth_scan_results()
|
D | wpa.c | 203 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid); in wpa_supplicant_get_pmk() 249 pmksa_cache_add(sm->pmksa, sm->pmk, pmk_len, src_addr, in wpa_supplicant_get_pmk() 253 pmksa_cache_get(sm->pmksa, src_addr, pmkid)) { in wpa_supplicant_get_pmk() 1873 sm->pmksa = pmksa_cache_init(wpa_sm_pmksa_free_cb, sm, sm); in wpa_sm_init() 1874 if (sm->pmksa == NULL) { in wpa_sm_init() 1893 pmksa_cache_deinit(sm->pmksa); in wpa_sm_deinit() 2077 pmksa_cache_notify_reconfig(sm->pmksa); in wpa_sm_set_config()
|
D | wpa_i.h | 39 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); 50 static void pmksa_cache_free_entry(struct rsn_pmksa_cache *pmksa, in pmksa_cache_free_entry() argument 55 pmksa->pmksa_count--; in pmksa_cache_free_entry() 56 pmksa->free_cb(entry, pmksa->ctx); in pmksa_cache_free_entry() 57 pos = pmksa->pmkid[PMKID_HASH(entry->pmkid)]; in pmksa_cache_free_entry() 64 pmksa->pmkid[PMKID_HASH(entry->pmkid)] = in pmksa_cache_free_entry() 73 pos = pmksa->pmksa; in pmksa_cache_free_entry() 80 pmksa->pmksa = pos->next; in pmksa_cache_free_entry() 92 struct rsn_pmksa_cache *pmksa = eloop_ctx; in pmksa_cache_expire() local [all …]
|
D | pmksa_cache_auth.h | 39 void pmksa_cache_auth_deinit(struct rsn_pmksa_cache *pmksa); 41 pmksa_cache_auth_get(struct rsn_pmksa_cache *pmksa, 44 struct rsn_pmksa_cache *pmksa, const u8 *spa, const u8 *aa, 47 pmksa_cache_auth_add(struct rsn_pmksa_cache *pmksa, 52 pmksa_cache_add_okc(struct rsn_pmksa_cache *pmksa,
|
D | wpa_auth_ie.c | 383 struct rsn_pmksa_cache_entry *pmksa; member 393 data->pmksa = pmksa_cache_get_okc(a->pmksa, data->aa, data->spa, in wpa_auth_okc_iter() 395 if (data->pmksa) in wpa_auth_okc_iter() 619 sm->pmksa = NULL; in wpa_validate_wpa_ie() 623 sm->pmksa = pmksa_cache_auth_get(wpa_auth->pmksa, sm->addr, in wpa_validate_wpa_ie() 625 if (sm->pmksa) { in wpa_validate_wpa_ie() 626 pmkid = sm->pmksa->pmkid; in wpa_validate_wpa_ie() 630 for (i = 0; sm->pmksa == NULL && wpa_auth->conf.okc && in wpa_validate_wpa_ie() 633 idata.pmksa = NULL; in wpa_validate_wpa_ie() 638 if (idata.pmksa) { in wpa_validate_wpa_ie() [all …]
|
D | wpa_auth_i.h | 104 struct rsn_pmksa_cache_entry *pmksa; member 183 struct rsn_pmksa_cache *pmksa; member
|
D | wpa_auth.c | 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() [all …]
|
D | ieee802_1x.c | 669 struct rsn_pmksa_cache_entry *pmksa; in ieee802_1x_receive() local 784 pmksa = wpa_auth_sta_get_pmksa(sta->wpa_sm); in ieee802_1x_receive() 785 if (pmksa) { in ieee802_1x_receive() 790 wpa_auth_sta_clear_pmksa(sta->wpa_sm, pmksa); in ieee802_1x_receive() 844 struct rsn_pmksa_cache_entry *pmksa; in ieee802_1x_new_station() local 923 pmksa = wpa_auth_sta_get_pmksa(sta->wpa_sm); in ieee802_1x_new_station() 924 if (pmksa) { in ieee802_1x_new_station() 941 pmksa_cache_to_eapol_data(pmksa, sta->eapol_sm); in ieee802_1x_new_station()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wext.c | 2249 struct iw_pmksa pmksa; in wpa_driver_wext_pmksa() local 2254 os_memset(&pmksa, 0, sizeof(pmksa)); in wpa_driver_wext_pmksa() 2255 pmksa.cmd = cmd; in wpa_driver_wext_pmksa() 2256 pmksa.bssid.sa_family = ARPHRD_ETHER; in wpa_driver_wext_pmksa() 2258 os_memcpy(pmksa.bssid.sa_data, bssid, ETH_ALEN); in wpa_driver_wext_pmksa() 2260 os_memcpy(pmksa.pmkid, pmkid, IW_PMKID_LEN); in wpa_driver_wext_pmksa() 2261 iwr.u.data.pointer = (caddr_t) &pmksa; in wpa_driver_wext_pmksa() 2262 iwr.u.data.length = sizeof(pmksa); in wpa_driver_wext_pmksa()
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | driver_wext.c | 2427 struct iw_pmksa pmksa; local 2432 os_memset(&pmksa, 0, sizeof(pmksa)); 2433 pmksa.cmd = cmd; 2434 pmksa.bssid.sa_family = ARPHRD_ETHER; 2436 os_memcpy(pmksa.bssid.sa_data, bssid, ETH_ALEN); 2438 os_memcpy(pmksa.pmkid, pmkid, IW_PMKID_LEN); 2439 iwr.u.data.pointer = (caddr_t) &pmksa; 2440 iwr.u.data.length = sizeof(pmksa);
|
D | driver_nl80211.c | 2312 struct iw_pmksa pmksa; in wpa_driver_nl80211_pmksa() local 2317 os_memset(&pmksa, 0, sizeof(pmksa)); in wpa_driver_nl80211_pmksa() 2318 pmksa.cmd = cmd; in wpa_driver_nl80211_pmksa() 2319 pmksa.bssid.sa_family = ARPHRD_ETHER; in wpa_driver_nl80211_pmksa() 2321 os_memcpy(pmksa.bssid.sa_data, bssid, ETH_ALEN); in wpa_driver_nl80211_pmksa() 2323 os_memcpy(pmksa.pmkid, pmkid, IW_PMKID_LEN); in wpa_driver_nl80211_pmksa() 2324 iwr.u.data.pointer = (caddr_t) &pmksa; in wpa_driver_nl80211_pmksa() 2325 iwr.u.data.length = sizeof(pmksa); in wpa_driver_nl80211_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 | 737 pmksa = show PMKSA cache
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | README | 817 pmksa = show PMKSA cache
|