Home
last modified time | relevance | path

Searched refs:PMKID_LEN (Results 1 – 23 of 23) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dpmksa_cache_auth.c254 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()
Dwpa_auth_ie.c308 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()
Dwpa_auth_i.h62 u8 pmkid[PMKID_LEN]; /* valid if pmkid_set == 1 */
211 u8 dot11RSNAPMKIDUsed[PMKID_LEN];
Dpmksa_cache_auth.h19 u8 pmkid[PMKID_LEN];
Dwpa_auth.c793 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 …]
Dctrl_iface_ap.c895 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()
Dsta_info.h240 u8 fils_erp_pmkid[PMKID_LEN];
Dieee802_11.c1574 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/
Dwpa_common.c545 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 …]
Dwpa_common.h13 #define PMKID_LEN 16 macro
Ddpp.h257 u8 pmkid[PMKID_LEN];
Ddpp.c6340 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/
Dpmksa_cache.c151 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()
Dwpa_ie.c120 (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()
Dpmksa_cache.h17 u8 pmkid[PMKID_LEN];
Dwpa.c285 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 …]
Dwpa_i.h157 u8 fils_erp_pmkid[PMKID_LEN];
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh_mpm.c311 ie_len += PMKID_LEN; in mesh_mpm_send_plink_action()
344 wpabuf_put(buf, PMKID_LEN)); in mesh_mpm_send_plink_action()
Dmesh_rsn.c662 os_memcmp(chosen_pmk, sta->sae->pmkid, PMKID_LEN) != 0)) { in mesh_rsn_process_ampe()
Ddpp_supplicant.c1386 os_memcpy(entry->pmkid, intro.pmkid, PMKID_LEN); in wpas_dpp_rx_peer_disc_resp()
Devents.c353 ie.pmkid + i * PMKID_LEN, in wpa_find_assoc_pmkid()
Dctrl_iface.c9705 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/
Ddriver_nl80211.c10833 nla_put(msg, NL80211_ATTR_PMKID, PMKID_LEN, params->pmkid)) || in nl80211_send_external_auth_status()