/hal_espressif-3.6.0/components/wpa_supplicant/src/rsn_supp/ |
D | pmksa_cache.c | 106 const u8 *pmkid, const u8 *kck, size_t kck_len, in pmksa_cache_add() argument 123 if (pmkid) in pmksa_cache_add() 124 os_memcpy(entry->pmkid, pmkid, PMKID_LEN); in pmksa_cache_add() 126 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add() 128 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add() 130 rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid, in pmksa_cache_add() 147 os_memcmp_const(pos->pmkid, entry->pmkid, in pmksa_cache_add() 304 const u8 *aa, const u8 *pmkid, in pmksa_cache_get() argument 310 (pmkid == NULL || in pmksa_cache_get() 311 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0) && in pmksa_cache_get() [all …]
|
D | pmksa_cache.h | 17 u8 pmkid[PMKID_LEN]; member 55 const u8 *aa, const u8 *pmkid, 60 const u8 *pmkid, const u8 *kck, size_t kck_len, 64 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, 88 pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid, in pmksa_cache_get() argument 108 const u8 *pmkid, const u8 *kck, size_t kck_len, in pmksa_cache_add() argument 118 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, in pmksa_cache_set_current() argument
|
D | wpa.c | 398 const u8 *pmkid) in wpa_supplicant_get_pmk() argument 402 if (pmkid && !sm->cur_pmksa) { in wpa_supplicant_get_pmk() 407 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid, in wpa_supplicant_get_pmk() 419 if (pmkid && sm->cur_pmksa && in wpa_supplicant_get_pmk() 420 os_memcmp_const(pmkid, sm->cur_pmksa->pmkid, PMKID_LEN) == 0) { in wpa_supplicant_get_pmk() 422 wpa_hexdump(MSG_DEBUG, "RSN: matched PMKID", pmkid, PMKID_LEN); in wpa_supplicant_get_pmk() 456 if (!sm->cur_pmksa && pmkid && in wpa_supplicant_get_pmk() 457 pmksa_cache_get(sm->pmksa, src_addr, pmkid, NULL)) in wpa_supplicant_get_pmk() 463 } else if (sa && !sm->cur_pmksa && pmkid) { in wpa_supplicant_get_pmk() 628 if (ie.pmkid) { in wpa_supplicant_process_1_of_4() [all …]
|
D | wpa.h | 123 void wpa_set_pmk(uint8_t *pmk, const u8 *pmkid, bool cache_pmksa);
|
D | wpa_ie.h | 23 const u8 *pmkid; member
|
D | wpa_ie.c | 239 os_memcpy(pos, sm->cur_pmksa->pmkid, PMKID_LEN); in wpa_gen_wpa_ie_rsn() 319 ie->pmkid = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
|
/hal_espressif-3.6.0/components/wpa_supplicant/src/common/ |
D | wpa_common.h | 342 const u8 *pmkid; member 353 const u8 *spa, u8 *pmkid); 356 const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b() argument 364 const u8 *spa, u8 *pmkid); 367 const u8 *aa, const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b_192() argument 392 u8 *pmkid, int use_sha256);
|
D | wpa_common.c | 173 data->pmkid = NULL; in wpa_parse_wpa_ie_rsn() 288 data->pmkid = pos; in wpa_parse_wpa_ie_rsn() 331 data->pmkid = NULL; in wpa_parse_wpa_ie_wpa() 546 const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b() argument 559 os_memcpy(pmkid, hash, PMKID_LEN); in rsn_pmkid_suite_b() 578 const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b_192() argument 591 os_memcpy(pmkid, hash, PMKID_LEN); in rsn_pmkid_suite_b_192() 732 u8 *pmkid, int use_sha256) in rsn_pmkid() argument 751 memcpy(pmkid, hash, PMKID_LEN); in rsn_pmkid()
|
D | sae.h | 63 u8 pmkid[SAE_PMKID_LEN]; member
|
D | dpp.h | 326 u8 pmkid[PMKID_LEN]; member
|
D | dpp.c | 5742 struct crypto_key *own_key, struct crypto_key *peer_key, u8 *pmkid) in dpp_derive_pmkid() argument 5771 os_memcpy(pmkid, hash, PMKID_LEN); in dpp_derive_pmkid() 5772 wpa_hexdump(MSG_DEBUG, "DPP: PMKID", pmkid, PMKID_LEN); in dpp_derive_pmkid() 5927 if (dpp_derive_pmkid(curve, own_key, peer_key, intro->pmkid) < 0) { in dpp_peer_intro()
|
D | sae.c | 836 os_memcpy(sae->pmkid, val, SAE_PMKID_LEN); in sae_derive_keys()
|
/hal_espressif-3.6.0/components/wpa_supplicant/src/ap/ |
D | wpa_auth_ie.c | 88 const u8 *pmkid) in wpa_write_rsn_ie() argument 248 if (pmkid) { in wpa_write_rsn_ie() 254 memcpy(pos, pmkid, PMKID_LEN); in wpa_write_rsn_ie() 262 if (pmkid == NULL) { in wpa_write_rsn_ie() 280 int pmkid_count_set = pmkid != NULL; in wpa_write_rsn_ie() 611 ie->pmkid = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
|
D | wpa_auth_ie.h | 17 const u8 *pmkid; member
|
D | wpa_auth.c | 497 ie.num_pmkid != 1 || ie.pmkid == NULL) { in ft_check_msg_2_of_4() 503 memcpy(sm->sup_pmk_r1_name, ie.pmkid, PMKID_LEN); in ft_check_msg_2_of_4() 1462 u8 buf[2 + RSN_SELECTOR_LEN + PMKID_LEN], *pmkid = NULL; in SM_STATE() local 1482 pmkid = buf; in SM_STATE() 1484 pmkid[0] = WLAN_EID_VENDOR_SPECIFIC; in SM_STATE() 1485 pmkid[1] = RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE() 1486 RSN_SELECTOR_PUT(&pmkid[2], RSN_KEY_DATA_PMKID); in SM_STATE() 1494 sm->addr, &pmkid[2 + RSN_SELECTOR_LEN], in SM_STATE() 1500 sm->ANonce, pmkid, pmkid_len, 0, 0); in SM_STATE()
|
D | wpa_auth_i.h | 173 const u8 *pmkid);
|
/hal_espressif-3.6.0/components/wpa_supplicant/esp_supplicant/src/ |
D | esp_wpa_main.c | 202 data->pmkid = ie.pmkid; in wpa_parse_wpa_ie_wrapper()
|
D | esp_wpa3.c | 203 wpa_set_pmk(g_sae_data.pmk, g_sae_data.pmkid, true); in wpa3_parse_sae_confirm()
|
D | esp_wifi_driver.h | 106 const u8 *pmkid; member
|