/external/wpa_supplicant_8/src/ap/ |
D | pmksa_cache_auth.c | 254 wpa_hexdump(MSG_DEBUG, "RSN: added PMKID", entry->pmkid, PMKID_LEN); in pmksa_cache_link_entry() 335 os_memcpy(entry->pmkid, pmkid, PMKID_LEN); in pmksa_cache_auth_create_entry() 403 os_memcpy(entry->pmkid, pmkid, PMKID_LEN); in pmksa_cache_add_okc() 484 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0) in pmksa_cache_auth_get() 514 u8 new_pmkid[PMKID_LEN]; in pmksa_cache_get_okc() 521 if (os_memcmp(new_pmkid, pmkid, PMKID_LEN) == 0) in pmksa_cache_get_okc() 652 PMKID_LEN); in pmksa_cache_auth_list() 708 PMKID_LEN); in pmksa_cache_auth_list_mesh()
|
D | wpa_auth_ie.c | 308 if (2 + PMKID_LEN > buf + len - pos) in wpa_write_rsn_ie() 313 os_memcpy(pos, pmkid, PMKID_LEN); in wpa_write_rsn_ie() 314 pos += PMKID_LEN; in wpa_write_rsn_ie() 879 &data.pmkid[i * PMKID_LEN], PMKID_LEN); in wpa_validate_wpa_ie() 881 &data.pmkid[i * PMKID_LEN]); in wpa_validate_wpa_ie() 893 idata.pmkid = &data.pmkid[i * PMKID_LEN]; in wpa_validate_wpa_ie() 915 os_memcpy(wpa_auth->dot11RSNAPMKIDUsed, pmkid, PMKID_LEN); in wpa_validate_wpa_ie() 1007 pos[1] >= RSN_SELECTOR_LEN + PMKID_LEN && in wpa_parse_generic()
|
D | wpa_auth_i.h | 62 u8 pmkid[PMKID_LEN]; /* valid if pmkid_set == 1 */ 211 u8 dot11RSNAPMKIDUsed[PMKID_LEN];
|
D | pmksa_cache_auth.h | 19 u8 pmkid[PMKID_LEN];
|
D | wpa_auth.c | 793 os_memcpy(sm->sup_pmk_r1_name, ie.pmkid, PMKID_LEN); in ft_check_msg_2_of_4() 795 sm->sup_pmk_r1_name, PMKID_LEN); in ft_check_msg_2_of_4() 2081 u8 buf[2 + RSN_SELECTOR_LEN + PMKID_LEN], *pmkid = NULL; in SM_STATE() 2118 pmkid_len = 2 + RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE() 2120 pmkid[1] = RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE() 2125 sm->pmksa->pmkid, PMKID_LEN); in SM_STATE() 2127 sm->pmksa->pmkid, PMKID_LEN); in SM_STATE() 2138 sm->pmkid, PMKID_LEN); in SM_STATE() 2140 sm->pmkid, PMKID_LEN); in SM_STATE() 2158 &pmkid[2 + RSN_SELECTOR_LEN], PMKID_LEN); in SM_STATE() [all …]
|
D | ctrl_iface_ap.c | 895 u8 pmkid[PMKID_LEN]; in hostapd_ctrl_iface_pmksa_add() 914 if (hexstr2bin(pos, pmkid, PMKID_LEN) < 0) in hostapd_ctrl_iface_pmksa_add() 953 u8 pmkid[PMKID_LEN]; in hostapd_ctrl_iface_pmksa_create_entry() 971 if (hexstr2bin(pos, pmkid, PMKID_LEN) < 0) in hostapd_ctrl_iface_pmksa_create_entry()
|
D | sta_info.h | 240 u8 fils_erp_pmkid[PMKID_LEN];
|
D | ieee802_11.c | 1574 rsn.pmkid, rsn.num_pmkid * PMKID_LEN); in handle_auth_fils() 1579 wpa_hexdump(MSG_DEBUG, "FILS: PMKID", pmkid, PMKID_LEN); in handle_auth_fils() 1589 pmkid += PMKID_LEN; in handle_auth_fils() 1695 ie_buf = os_malloc(ielen + 2 + 2 + PMKID_LEN); in prepare_auth_resp_fils() 2784 wpa_hexdump(MSG_DEBUG, "OWE: PMKID", pmkid, PMKID_LEN); in owe_process_assoc_req()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.c | 545 os_memcpy(pmkid, hash, PMKID_LEN); in fils_pmkid_erp() 546 wpa_hexdump(MSG_DEBUG, "FILS: PMKID", pmkid, PMKID_LEN); in fils_pmkid_erp() 1329 if (num_pmkid > (unsigned int) left / PMKID_LEN) { in wpa_parse_wpa_ie_rsn() 1338 pos += data->num_pmkid * PMKID_LEN; in wpa_parse_wpa_ie_rsn() 1339 left -= data->num_pmkid * PMKID_LEN; in wpa_parse_wpa_ie_rsn() 1864 wpa_hexdump(MSG_DEBUG, "RSN: Derived PMKID", hash, PMKID_LEN); in rsn_pmkid() 1865 os_memcpy(pmkid, hash, PMKID_LEN); in rsn_pmkid() 1896 os_memcpy(pmkid, hash, PMKID_LEN); in rsn_pmkid_suite_b() 1929 os_memcpy(pmkid, hash, PMKID_LEN); in rsn_pmkid_suite_b_192() 2172 os_memmove(rpos + 2 + PMKID_LEN, rpos, end + added - rpos); in wpa_insert_pmkid() [all …]
|
D | wpa_common.h | 13 #define PMKID_LEN 16 macro
|
D | dpp.h | 257 u8 pmkid[PMKID_LEN];
|
D | dpp.c | 6340 os_memcpy(pmkid, hash, PMKID_LEN); in dpp_derive_pmkid() 6341 wpa_hexdump(MSG_DEBUG, "DPP: PMKID", pmkid, PMKID_LEN); in dpp_derive_pmkid()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | pmksa_cache.c | 151 os_memcpy(entry->pmkid, pmkid, PMKID_LEN); in pmksa_cache_add() 190 PMKID_LEN) == 0) { in pmksa_cache_add_entry() 357 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0) && in pmksa_cache_get() 494 pmkid, PMKID_LEN); in pmksa_cache_set_current() 520 sm->cur_pmksa->pmkid, PMKID_LEN); in pmksa_cache_set_current() 571 PMKID_LEN); in pmksa_cache_list()
|
D | wpa_ie.c | 120 (sm->cur_pmksa ? 2 + PMKID_LEN : 0)) { in wpa_gen_wpa_ie_rsn() 236 os_memcpy(pos, sm->cur_pmksa->pmkid, PMKID_LEN); in wpa_gen_wpa_ie_rsn() 237 pos += PMKID_LEN; in wpa_gen_wpa_ie_rsn() 412 pos[1] >= RSN_SELECTOR_LEN + PMKID_LEN && in wpa_parse_generic()
|
D | pmksa_cache.h | 17 u8 pmkid[PMKID_LEN];
|
D | wpa.c | 285 os_memcmp_const(pmkid, sm->cur_pmksa->pmkid, PMKID_LEN) == 0) { in wpa_supplicant_get_pmk() 286 wpa_hexdump(MSG_DEBUG, "RSN: matched PMKID", pmkid, PMKID_LEN); in wpa_supplicant_get_pmk() 469 rsn_ie_buf = os_malloc(wpa_ie_len + 2 + 2 + PMKID_LEN + in wpa_supplicant_send_2_of_4() 591 "Authenticator", ie.pmkid, PMKID_LEN); in wpa_supplicant_process_1_of_4() 2494 char pmkid_txt[PMKID_LEN * 2 + 1]; in wpa_sm_get_mib() 2500 sm->cur_pmksa->pmkid, PMKID_LEN); in wpa_sm_get_mib() 3788 rsn.pmkid, rsn.num_pmkid * PMKID_LEN); in fils_process_auth() 3794 wpa_hexdump(MSG_DEBUG, "FILS: PMKID", rsn.pmkid, PMKID_LEN); in fils_process_auth() 3795 if (os_memcmp(sm->cur_pmksa->pmkid, rsn.pmkid, PMKID_LEN) != 0) in fils_process_auth() 3799 sm->cur_pmksa->pmkid, PMKID_LEN); in fils_process_auth() [all …]
|
D | wpa_i.h | 157 u8 fils_erp_pmkid[PMKID_LEN];
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_mpm.c | 311 ie_len += PMKID_LEN; in mesh_mpm_send_plink_action() 344 wpabuf_put(buf, PMKID_LEN)); in mesh_mpm_send_plink_action()
|
D | mesh_rsn.c | 662 os_memcmp(chosen_pmk, sta->sae->pmkid, PMKID_LEN) != 0)) { in mesh_rsn_process_ampe()
|
D | dpp_supplicant.c | 1386 os_memcpy(entry->pmkid, intro.pmkid, PMKID_LEN); in wpas_dpp_rx_peer_disc_resp()
|
D | events.c | 353 ie.pmkid + i * PMKID_LEN, in wpa_find_assoc_pmkid()
|
D | ctrl_iface.c | 9705 PMKID_LEN); in wpas_ctrl_iface_pmksa_get() 9783 if (hexstr2bin(pos, entry->pmkid, PMKID_LEN) < 0) in wpas_ctrl_iface_pmksa_add()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211.c | 10833 nla_put(msg, NL80211_ATTR_PMKID, PMKID_LEN, params->pmkid)) || in nl80211_send_external_auth_status()
|