/external/wpa_supplicant_8/src/ap/ |
D | pmksa_cache_auth.c | 26 #define PMKID_HASH(pmkid) (unsigned int) ((pmkid)[0] & 0x7f) argument 27 struct rsn_pmksa_cache_entry *pmkid[PMKID_HASH_SIZE]; member 61 hash = PMKID_HASH(entry->pmkid); in pmksa_cache_free_entry() 62 pos = pmksa->pmkid[hash]; in pmksa_cache_free_entry() 69 pmksa->pmkid[hash] = entry->hnext; in pmksa_cache_free_entry() 245 hash = PMKID_HASH(entry->pmkid); in pmksa_cache_link_entry() 246 entry->hnext = pmksa->pmkid[hash]; in pmksa_cache_link_entry() 247 pmksa->pmkid[hash] = entry; in pmksa_cache_link_entry() 254 wpa_hexdump(MSG_DEBUG, "RSN: added PMKID", entry->pmkid, PMKID_LEN); in pmksa_cache_link_entry() 280 const u8 *pmk, size_t pmk_len, const u8 *pmkid, in pmksa_cache_auth_add() argument [all …]
|
D | pmksa_cache_auth.h | 19 u8 pmkid[PMKID_LEN]; member 46 const u8 *spa, const u8 *pmkid); 49 const u8 *pmkid); 52 const u8 *pmk, size_t pmk_len, const u8 *pmkid, 57 pmksa_cache_auth_create_entry(const u8 *pmk, size_t pmk_len, const u8 *pmkid, 66 const u8 *aa, const u8 *pmkid);
|
D | wpa_auth_ie.c | 92 const u8 *pmkid) in wpa_write_rsn_ie() argument 307 if (pmkid) { in wpa_write_rsn_ie() 313 os_memcpy(pos, pmkid, PMKID_LEN); in wpa_write_rsn_ie() 322 if (pmkid == NULL) { in wpa_write_rsn_ie() 358 int pmkid_count_set = pmkid != NULL; in wpa_write_rsn_ie() 517 const u8 *pmkid; member 525 data->pmkid); in wpa_auth_okc_iter() 542 const u8 *pmkid = NULL; in wpa_validate_wpa_ie() local 867 (data.num_pmkid != 1 || !data.pmkid || !sm->pmk_r1_name_valid || in wpa_validate_wpa_ie() 868 os_memcmp_const(data.pmkid, sm->pmk_r1_name, in wpa_validate_wpa_ie() [all …]
|
D | wpa_auth.h | 374 const u8 *pmk, const u8 *pmkid); 375 void wpa_auth_add_sae_pmkid(struct wpa_state_machine *sm, const u8 *pmkid); 377 const u8 *pmk, size_t pmk_len, const u8 *pmkid, 388 const u8 *pmkid, int expiration); 393 const u8 *pmkid); 396 const u8 *sta_addr, const u8 *pmkid); 400 u8 *pmkid, u8 *pmk);
|
D | wpa_auth.c | 787 ie.num_pmkid != 1 || ie.pmkid == NULL) { in ft_check_msg_2_of_4() 793 os_memcpy(sm->sup_pmk_r1_name, ie.pmkid, PMKID_LEN); in ft_check_msg_2_of_4() 2081 u8 buf[2 + RSN_SELECTOR_LEN + PMKID_LEN], *pmkid = NULL; in SM_STATE() local 2117 pmkid = buf; in SM_STATE() 2119 pmkid[0] = WLAN_EID_VENDOR_SPECIFIC; in SM_STATE() 2120 pmkid[1] = RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE() 2121 RSN_SELECTOR_PUT(&pmkid[2], RSN_KEY_DATA_PMKID); in SM_STATE() 2125 sm->pmksa->pmkid, PMKID_LEN); in SM_STATE() 2126 os_memcpy(&pmkid[2 + RSN_SELECTOR_LEN], in SM_STATE() 2127 sm->pmksa->pmkid, PMKID_LEN); in SM_STATE() [all …]
|
D | wpa_auth_i.h | 62 u8 pmkid[PMKID_LEN]; /* valid if pmkid_set == 1 */ member 269 const u8 *pmkid);
|
D | ctrl_iface_ap.c | 895 u8 pmkid[PMKID_LEN]; in hostapd_ctrl_iface_pmksa_add() local 914 if (hexstr2bin(pos, pmkid, PMKID_LEN) < 0) in hostapd_ctrl_iface_pmksa_add() 936 pmkid, expiration, akmp); in hostapd_ctrl_iface_pmksa_add() 953 u8 pmkid[PMKID_LEN]; in hostapd_ctrl_iface_pmksa_create_entry() local 971 if (hexstr2bin(pos, pmkid, PMKID_LEN) < 0) in hostapd_ctrl_iface_pmksa_create_entry() 990 return wpa_auth_pmksa_create_entry(aa, spa, pmk, pmkid, expiration); in hostapd_ctrl_iface_pmksa_create_entry()
|
D | wpa_auth_ie.h | 17 const u8 *pmkid; member
|
D | ieee802_11.c | 713 params.pmkid = sta->sae->pmkid; in sae_sme_send_external_auth_status() 756 sta->sae->pmk, sta->sae->pmkid); in sae_accept_sta() 1569 if (rsn.pmkid && rsn.num_pmkid > 0) { in handle_auth_fils() 1571 const u8 *pmkid; in handle_auth_fils() local 1574 rsn.pmkid, rsn.num_pmkid * PMKID_LEN); in handle_auth_fils() 1576 pmkid = rsn.pmkid; in handle_auth_fils() 1579 wpa_hexdump(MSG_DEBUG, "FILS: PMKID", pmkid, PMKID_LEN); in handle_auth_fils() 1581 pmkid); in handle_auth_fils() 1586 pmkid); in handle_auth_fils() 1589 pmkid += PMKID_LEN; in handle_auth_fils() [all …]
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | pmksa_cache.c | 47 entry->pmkid, in pmksa_cache_free_entry() 132 const u8 *pmkid, const u8 *kck, size_t kck_len, in pmksa_cache_add() argument 150 if (pmkid) in pmksa_cache_add() 151 os_memcpy(entry->pmkid, pmkid, PMKID_LEN); in pmksa_cache_add() 153 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add() 155 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add() 157 rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid, akmp); in pmksa_cache_add() 189 os_memcmp_const(pos->pmkid, entry->pmkid, in pmksa_cache_add_entry() 268 wpa_sm_add_pmkid(pmksa->sm, entry->network_ctx, entry->aa, entry->pmkid, in pmksa_cache_add_entry() 349 const u8 *aa, const u8 *pmkid, in pmksa_cache_get() argument [all …]
|
D | pmksa_cache.h | 17 u8 pmkid[PMKID_LEN]; member 63 const u8 *aa, const u8 *pmkid, 70 const u8 *pmkid, const u8 *kck, size_t kck_len, 78 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, 103 pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid, in pmksa_cache_get() argument 136 const u8 *pmkid, const u8 *kck, size_t kck_len, in pmksa_cache_add() argument 147 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, in pmksa_cache_set_current() argument
|
D | wpa.c | 263 const u8 *pmkid) in wpa_supplicant_get_pmk() argument 267 if (pmkid && !sm->cur_pmksa) { in wpa_supplicant_get_pmk() 272 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid, in wpa_supplicant_get_pmk() 284 if (pmkid && sm->cur_pmksa && in wpa_supplicant_get_pmk() 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() 365 if (!sm->cur_pmksa && pmkid && in wpa_supplicant_get_pmk() 366 pmksa_cache_get(sm->pmksa, src_addr, pmkid, NULL, in wpa_supplicant_get_pmk() 372 } else if (sa && !sm->cur_pmksa && pmkid) { in wpa_supplicant_get_pmk() 589 if (ie.pmkid) { in wpa_supplicant_process_1_of_4() [all …]
|
D | wpa.h | 43 const u8 *pmkid, const u8 *fils_cache_id, 46 const u8 *pmkid, const u8 *fils_cache_id); 125 const u8 *pmkid, const u8 *bssid); 164 const u8 *pmkid, const u8 *bssid, 203 size_t pmk_len, const u8 *pmkid, in wpa_sm_set_pmk() argument
|
D | wpa_i.h | 247 const u8 *bssid, const u8 *pmkid, in wpa_sm_add_pmkid() argument 252 return sm->ctx->add_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid, in wpa_sm_add_pmkid() 257 const u8 *bssid, const u8 *pmkid, in wpa_sm_remove_pmkid() argument 261 return sm->ctx->remove_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid, in wpa_sm_remove_pmkid()
|
D | wpa_ie.h | 19 const u8 *pmkid; member
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_ndis.c | 1196 entry = drv->pmkid; in wpa_driver_ndis_set_pmkid() 1210 entry = drv->pmkid; in wpa_driver_ndis_set_pmkid() 1213 os_memcpy(&p->BSSIDInfo[i].PMKID, entry->pmkid, 16); in wpa_driver_ndis_set_pmkid() 1229 const u8 *pmkid = params->pmkid; in wpa_driver_ndis_add_pmkid() local 1231 if (!bssid || !pmkid) in wpa_driver_ndis_add_pmkid() 1237 entry = drv->pmkid; in wpa_driver_ndis_add_pmkid() 1248 os_memcpy(entry->pmkid, pmkid, 16); in wpa_driver_ndis_add_pmkid() 1251 entry->next = drv->pmkid; in wpa_driver_ndis_add_pmkid() 1252 drv->pmkid = entry; in wpa_driver_ndis_add_pmkid() 1258 os_memcpy(entry->pmkid, pmkid, 16); in wpa_driver_ndis_add_pmkid() [all …]
|
D | driver_ndis.h | 23 u8 pmkid[16]; member 46 struct ndis_pmkid_entry *pmkid; member
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.h | 356 u8 *pmkid); 402 const u8 *pmkid; member 414 u8 *pmkid, int akmp); 417 const u8 *spa, u8 *pmkid); 420 const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b() argument 427 const u8 *spa, u8 *pmkid); 430 const u8 *aa, const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b_192() argument 442 int wpa_insert_pmkid(u8 *ies, size_t *ies_len, const u8 *pmkid);
|
D | wpa_common.c | 527 u8 *pmkid) in fils_pmkid_erp() argument 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() 961 if (data.num_pmkid == 1 && data.pmkid) in wpa_ft_parse_ies() 962 parse->rsn_pmkid = data.pmkid; in wpa_ft_parse_ies() 1204 data->pmkid = NULL; in wpa_parse_wpa_ie_rsn() 1337 data->pmkid = pos; in wpa_parse_wpa_ie_rsn() 1406 data->pmkid = NULL; in wpa_parse_wpa_ie_wpa() 1838 u8 *pmkid, int akmp) in rsn_pmkid() argument 1865 os_memcpy(pmkid, hash, PMKID_LEN); in rsn_pmkid() [all …]
|
D | common_module_tests.c | 321 const u8 pmkid[] = { in sae_tests() local 394 if (os_memcmp(pmkid, sae.pmkid, SAE_PMKID_LEN) != 0) { in sae_tests()
|
D | sae.h | 55 u8 pmkid[SAE_PMKID_LEN]; member
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_rsn.c | 390 sta->sae->pmkid, sta->sae->pmk); in mesh_rsn_auth_sae_sta() 416 void mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid) in mesh_rsn_get_pmkid() argument 418 os_memcpy(pmkid, sta->sae->pmkid, SAE_PMKID_LEN); in mesh_rsn_get_pmkid() 662 os_memcmp(chosen_pmk, sta->sae->pmkid, PMKID_LEN) != 0)) { in mesh_rsn_process_ampe()
|
D | wpas_glue.c | 544 const u8 *bssid, const u8 *pmkid, in wpa_supplicant_add_pmkid() argument 565 params.pmkid = pmkid; in wpa_supplicant_add_pmkid() 574 const u8 *bssid, const u8 *pmkid, in wpa_supplicant_remove_pmkid() argument 594 params.pmkid = pmkid; in wpa_supplicant_remove_pmkid()
|
D | mesh_rsn.h | 34 void mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid);
|
D | preauth_test.c | 147 const u8 *bssid, const u8 *pmkid, in wpa_supplicant_add_pmkid() argument 157 const u8 *bssid, const u8 *pmkid, in wpa_supplicant_remove_pmkid() argument
|