/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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(entry->pmkid, pmkid, PMKID_LEN) == 0) in pmksa_cache_get_okc() 527 if (os_memcmp(new_pmkid, pmkid, PMKID_LEN) == 0) in pmksa_cache_get_okc() 658 PMKID_LEN); in pmksa_cache_auth_list() 714 PMKID_LEN); in pmksa_cache_auth_list_mesh()
|
D | wpa_auth_ie.c | 320 if (2 + PMKID_LEN > buf + len - pos) in wpa_write_rsn_ie() 325 os_memcpy(pos, pmkid, PMKID_LEN); in wpa_write_rsn_ie() 326 pos += PMKID_LEN; in wpa_write_rsn_ie() 940 &data.pmkid[i * PMKID_LEN], PMKID_LEN); in wpa_validate_wpa_ie() 942 &data.pmkid[i * PMKID_LEN]); in wpa_validate_wpa_ie() 954 idata.pmkid = &data.pmkid[i * PMKID_LEN]; in wpa_validate_wpa_ie() 976 os_memcpy(wpa_auth->dot11RSNAPMKIDUsed, pmkid, PMKID_LEN); in wpa_validate_wpa_ie()
|
D | wpa_auth_i.h | 62 u8 pmkid[PMKID_LEN]; /* valid if pmkid_set == 1 */ 218 u8 dot11RSNAPMKIDUsed[PMKID_LEN];
|
D | pmksa_cache_auth.h | 19 u8 pmkid[PMKID_LEN];
|
D | sta_info.h | 80 u8 erp_pmkid[PMKID_LEN]; 285 u8 fils_erp_pmkid[PMKID_LEN];
|
D | wpa_auth.c | 873 os_memcpy(sm->sup_pmk_r1_name, ie.pmkid, PMKID_LEN); in ft_check_msg_2_of_4() 875 sm->sup_pmk_r1_name, PMKID_LEN); in ft_check_msg_2_of_4() 2191 u8 buf[2 + RSN_SELECTOR_LEN + PMKID_LEN], *pmkid = NULL; in SM_STATE() 2228 pmkid_len = 2 + RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE() 2230 pmkid[1] = RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE() 2235 sm->pmksa->pmkid, PMKID_LEN); in SM_STATE() 2237 sm->pmksa->pmkid, PMKID_LEN); in SM_STATE() 2248 sm->pmkid, PMKID_LEN); in SM_STATE() 2250 sm->pmkid, PMKID_LEN); in SM_STATE() 2270 sm->pmkid, PMKID_LEN); in SM_STATE() [all …]
|
D | ctrl_iface_ap.c | 950 u8 pmkid[PMKID_LEN]; in hostapd_ctrl_iface_pmksa_add() 969 if (hexstr2bin(pos, pmkid, PMKID_LEN) < 0) in hostapd_ctrl_iface_pmksa_add() 1008 u8 pmkid[PMKID_LEN]; in hostapd_ctrl_iface_pmksa_create_entry() 1026 if (hexstr2bin(pos, pmkid, PMKID_LEN) < 0) in hostapd_ctrl_iface_pmksa_create_entry()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 */ 213 u8 dot11RSNAPMKIDUsed[PMKID_LEN];
|
D | pmksa_cache_auth.h | 19 u8 pmkid[PMKID_LEN];
|
D | wpa_auth.c | 812 os_memcpy(sm->sup_pmk_r1_name, ie.pmkid, PMKID_LEN); in ft_check_msg_2_of_4() 814 sm->sup_pmk_r1_name, PMKID_LEN); in ft_check_msg_2_of_4() 2109 u8 buf[2 + RSN_SELECTOR_LEN + PMKID_LEN], *pmkid = NULL; in SM_STATE() 2146 pmkid_len = 2 + RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE() 2148 pmkid[1] = RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE() 2153 sm->pmksa->pmkid, PMKID_LEN); in SM_STATE() 2155 sm->pmksa->pmkid, PMKID_LEN); in SM_STATE() 2166 sm->pmkid, PMKID_LEN); in SM_STATE() 2168 sm->pmkid, PMKID_LEN); in SM_STATE() 2189 sm->pmkid, PMKID_LEN); in SM_STATE() [all …]
|
D | ctrl_iface_ap.c | 897 u8 pmkid[PMKID_LEN]; in hostapd_ctrl_iface_pmksa_add() 916 if (hexstr2bin(pos, pmkid, PMKID_LEN) < 0) in hostapd_ctrl_iface_pmksa_add() 955 u8 pmkid[PMKID_LEN]; in hostapd_ctrl_iface_pmksa_create_entry() 973 if (hexstr2bin(pos, pmkid, PMKID_LEN) < 0) in hostapd_ctrl_iface_pmksa_create_entry()
|
D | sta_info.h | 244 u8 fils_erp_pmkid[PMKID_LEN];
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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() 2182 os_memmove(rpos + 2 + PMKID_LEN, rpos, end + added - rpos); in wpa_insert_pmkid() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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() 495 rsn_ie_buf = os_malloc(wpa_ie_len + 2 + 2 + PMKID_LEN + in wpa_supplicant_send_2_of_4() 617 "Authenticator", ie.pmkid, PMKID_LEN); in wpa_supplicant_process_1_of_4() 2520 char pmkid_txt[PMKID_LEN * 2 + 1]; in wpa_sm_get_mib() 2526 sm->cur_pmksa->pmkid, PMKID_LEN); in wpa_sm_get_mib() 3818 rsn.pmkid, rsn.num_pmkid * PMKID_LEN); in fils_process_auth() 3824 wpa_hexdump(MSG_DEBUG, "FILS: PMKID", rsn.pmkid, PMKID_LEN); in fils_process_auth() 3825 if (os_memcmp(sm->cur_pmksa->pmkid, rsn.pmkid, PMKID_LEN) != 0) in fils_process_auth() 3829 sm->cur_pmksa->pmkid, PMKID_LEN); in fils_process_auth() [all …]
|
D | wpa_i.h | 158 u8 fils_erp_pmkid[PMKID_LEN];
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | wpa_common.c | 585 os_memcpy(pmkid, hash, PMKID_LEN); in fils_pmkid_erp() 586 wpa_hexdump(MSG_DEBUG, "FILS: PMKID", pmkid, PMKID_LEN); in fils_pmkid_erp() 1671 if (num_pmkid > (unsigned int) left / PMKID_LEN) { in wpa_parse_wpa_ie_rsn() 1680 pos += data->num_pmkid * PMKID_LEN; in wpa_parse_wpa_ie_rsn() 1681 left -= data->num_pmkid * PMKID_LEN; in wpa_parse_wpa_ie_rsn() 2219 wpa_hexdump(MSG_DEBUG, "RSN: Derived PMKID", hash, PMKID_LEN); in rsn_pmkid() 2220 os_memcpy(pmkid, hash, PMKID_LEN); in rsn_pmkid() 2251 os_memcpy(pmkid, hash, PMKID_LEN); in rsn_pmkid_suite_b() 2284 os_memcpy(pmkid, hash, PMKID_LEN); in rsn_pmkid_suite_b_192() 2535 os_memmove(rpos + 2 + PMKID_LEN, rpos, end + added - rpos); in wpa_insert_pmkid() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/ |
D | pmksa_cache.c | 193 os_memcpy(entry->pmkid, pmkid, PMKID_LEN); in pmksa_cache_add() 232 PMKID_LEN) == 0) { in pmksa_cache_add_entry() 406 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0) && in pmksa_cache_get() 566 pmkid, PMKID_LEN); in pmksa_cache_set_current() 606 sm->cur_pmksa->pmkid, PMKID_LEN); in pmksa_cache_set_current() 657 PMKID_LEN); in pmksa_cache_list()
|
D | wpa_ie.c | 136 (sm->cur_pmksa ? 2 + PMKID_LEN : 0)) { in wpa_gen_wpa_ie_rsn() 241 os_memcpy(pos, sm->cur_pmksa->pmkid, PMKID_LEN); in wpa_gen_wpa_ie_rsn() 242 pos += PMKID_LEN; in wpa_gen_wpa_ie_rsn()
|
D | pmksa_cache.h | 17 u8 pmkid[PMKID_LEN];
|
D | wpa.c | 295 os_memcmp_const(pmkid, sm->cur_pmksa->pmkid, PMKID_LEN) == 0) { in wpa_supplicant_get_pmk() 296 wpa_hexdump(MSG_DEBUG, "RSN: matched PMKID", pmkid, PMKID_LEN); in wpa_supplicant_get_pmk() 511 rsn_ie_buf = os_malloc(wpa_ie_len + 2 + 2 + PMKID_LEN + in wpa_supplicant_send_2_of_4() 711 "Authenticator", ie.pmkid, PMKID_LEN); in wpa_supplicant_process_1_of_4() 2795 char pmkid_txt[PMKID_LEN * 2 + 1]; in wpa_sm_get_mib() 2802 sm->cur_pmksa->pmkid, PMKID_LEN); in wpa_sm_get_mib() 4310 rsn.pmkid, rsn.num_pmkid * PMKID_LEN); in fils_process_auth() 4316 wpa_hexdump(MSG_DEBUG, "FILS: PMKID", rsn.pmkid, PMKID_LEN); in fils_process_auth() 4317 if (os_memcmp(sm->cur_pmksa->pmkid, rsn.pmkid, PMKID_LEN) != 0) in fils_process_auth() 4321 sm->cur_pmksa->pmkid, PMKID_LEN); in fils_process_auth() [all …]
|