Home
last modified time | relevance | path

Searched refs:pmksa (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.5.0/components/wpa_supplicant/src/rsn_supp/
Dpmksa_cache.c25 struct rsn_pmksa_cache_entry *pmksa; /* PMKSA cache */ member
36 static void pmksa_cache_set_expiration(struct rsn_pmksa_cache *pmksa);
45 static void pmksa_cache_free_entry(struct rsn_pmksa_cache *pmksa, in pmksa_cache_free_entry() argument
49 pmksa->pmksa_count--; in pmksa_cache_free_entry()
50 pmksa->free_cb(entry, pmksa->ctx, reason); in pmksa_cache_free_entry()
57 struct rsn_pmksa_cache *pmksa = eloop_ctx; in pmksa_cache_expire() local
60 while (pmksa->pmksa && pmksa->pmksa->expiration <= now_sec) { in pmksa_cache_expire()
61 struct rsn_pmksa_cache_entry *entry = pmksa->pmksa; in pmksa_cache_expire()
62 pmksa->pmksa = entry->next; in pmksa_cache_expire()
65 pmksa_cache_free_entry(pmksa, entry, PMKSA_EXPIRE); in pmksa_cache_expire()
[all …]
Dpmksa_cache.h53 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,
68 pmksa_cache_get_opportunistic(struct rsn_pmksa_cache *pmksa,
70 void pmksa_cache_flush(struct rsn_pmksa_cache *pmksa, void *network_ctx,
83 static inline void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa) in pmksa_cache_deinit() argument
88 pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid, in pmksa_cache_get() argument
100 static inline int pmksa_cache_list(struct rsn_pmksa_cache *pmksa, char *buf, in pmksa_cache_list() argument
107 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, in pmksa_cache_add() argument
[all …]
Dwpa.c407 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid, in wpa_supplicant_get_pmk()
452 sa = pmksa_cache_add(sm->pmksa, sm->pmk, pmk_len, in wpa_supplicant_get_pmk()
457 pmksa_cache_get(sm->pmksa, src_addr, pmkid, NULL)) in wpa_supplicant_get_pmk()
1318 sa = pmksa_cache_add(sm->pmksa, sm->pmk, sm->pmk_len, NULL, in wpa_supplicant_send_4_of_4_txcallback()
2078 pmksa_cache_add(sm->pmksa, pmk, pmk_len, pmkid, NULL, 0, in wpa_sm_set_pmk()
2132 sm->pmksa = pmksa_cache_init(wpa_sm_pmksa_free_cb, sm, sm); in wpa_sm_init()
2133 if (sm->pmksa == NULL) { in wpa_sm_init()
2147 pmksa_cache_deinit(sm->pmksa); in wpa_sm_deinit()
2187 pmksa_cache_add(sm->pmksa, pmk, PMK_LEN, pmkid, NULL, 0, in wpa_set_pmk()
2216 if (sm->pmksa) { in wpa_set_bss()
[all …]
Dwpa_i.h44 struct rsn_pmksa_cache *pmksa; /* PMKSA cache */ member
/hal_espressif-3.5.0/components/wpa_supplicant/src/ap/
Dwpa_auth.c345 pmksa_cache_auth_deinit(wpa_auth->pmksa); in wpa_init()