/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 45 const u8 *spa, const u8 *pmkid); 48 const u8 *pmkid); 51 const u8 *pmk, size_t pmk_len, const u8 *pmkid, 56 pmksa_cache_auth_create_entry(const u8 *pmk, size_t pmk_len, const u8 *pmkid, 65 const u8 *aa, const u8 *pmkid);
|
D | wpa_auth_ie.c | 92 const u8 *pmkid) in wpa_write_rsn_ie() argument 277 if (pmkid) { in wpa_write_rsn_ie() 283 os_memcpy(pos, pmkid, PMKID_LEN); in wpa_write_rsn_ie() 292 if (pmkid == NULL) { in wpa_write_rsn_ie() 328 int pmkid_count_set = pmkid != NULL; in wpa_write_rsn_ie() 483 const u8 *pmkid; member 491 data->pmkid); in wpa_auth_okc_iter() 507 const u8 *pmkid = NULL; in wpa_validate_wpa_ie() local 739 &data.pmkid[i * PMKID_LEN], PMKID_LEN); in wpa_validate_wpa_ie() 741 &data.pmkid[i * PMKID_LEN]); in wpa_validate_wpa_ie() [all …]
|
D | wpa_auth.h | 302 const u8 *pmk, const u8 *pmkid); 312 const u8 *pmkid, int expiration); 317 const u8 *pmkid); 321 u8 *pmkid, u8 *pmk);
|
D | wpa_auth.c | 765 ie.num_pmkid != 1 || ie.pmkid == NULL) { in ft_check_msg_2_of_4() 771 os_memcpy(sm->sup_pmk_r1_name, ie.pmkid, PMKID_LEN); in ft_check_msg_2_of_4() 2008 u8 buf[2 + RSN_SELECTOR_LEN + PMKID_LEN], *pmkid = NULL; in SM_STATE() local 2032 pmkid = buf; in SM_STATE() 2034 pmkid[0] = WLAN_EID_VENDOR_SPECIFIC; in SM_STATE() 2035 pmkid[1] = RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE() 2036 RSN_SELECTOR_PUT(&pmkid[2], RSN_KEY_DATA_PMKID); in SM_STATE() 2038 os_memcpy(&pmkid[2 + RSN_SELECTOR_LEN], in SM_STATE() 2039 sm->pmksa->pmkid, PMKID_LEN); in SM_STATE() 2042 pmkid = NULL; in SM_STATE() [all …]
|
D | wpa_auth_ie.h | 17 const u8 *pmkid; member
|
D | ctrl_iface_ap.c | 657 u8 pmkid[PMKID_LEN]; in hostapd_ctrl_iface_pmksa_create_entry() local 675 if (hexstr2bin(pos, pmkid, PMKID_LEN) < 0) in hostapd_ctrl_iface_pmksa_create_entry() 694 return wpa_auth_pmksa_create_entry(aa, spa, pmk, pmkid, expiration); in hostapd_ctrl_iface_pmksa_create_entry()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | pmksa_cache.c | 47 entry->pmkid); in pmksa_cache_free_entry() 129 const u8 *pmkid, const u8 *kck, size_t kck_len, in pmksa_cache_add() argument 146 if (pmkid) in pmksa_cache_add() 147 os_memcpy(entry->pmkid, pmkid, PMKID_LEN); in pmksa_cache_add() 149 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add() 151 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add() 153 rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid, in pmksa_cache_add() 182 os_memcmp_const(pos->pmkid, entry->pmkid, in pmksa_cache_add_entry() 261 entry->pmkid); in pmksa_cache_add_entry() 339 const u8 *aa, const u8 *pmkid, in pmksa_cache_get() argument [all …]
|
D | pmksa_cache.h | 17 u8 pmkid[PMKID_LEN]; member 55 const u8 *aa, const u8 *pmkid, 61 const u8 *pmkid, const u8 *kck, size_t kck_len, 68 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, 92 pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid, in pmksa_cache_get() argument 125 const u8 *pmkid, const u8 *kck, size_t kck_len, in pmksa_cache_add() argument 135 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, in pmksa_cache_set_current() argument
|
D | wpa_i.h | 231 const u8 *bssid, const u8 *pmkid) in wpa_sm_add_pmkid() argument 234 return sm->ctx->add_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid); in wpa_sm_add_pmkid() 238 const u8 *bssid, const u8 *pmkid) in wpa_sm_remove_pmkid() argument 241 return sm->ctx->remove_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid); in wpa_sm_remove_pmkid()
|
D | wpa.c | 257 const u8 *pmkid) in wpa_supplicant_get_pmk() argument 261 if (pmkid && !sm->cur_pmksa) { in wpa_supplicant_get_pmk() 266 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid, in wpa_supplicant_get_pmk() 278 if (pmkid && sm->cur_pmksa && in wpa_supplicant_get_pmk() 279 os_memcmp_const(pmkid, sm->cur_pmksa->pmkid, PMKID_LEN) == 0) { in wpa_supplicant_get_pmk() 280 wpa_hexdump(MSG_DEBUG, "RSN: matched PMKID", pmkid, PMKID_LEN); in wpa_supplicant_get_pmk() 332 if (!sm->cur_pmksa && pmkid && in wpa_supplicant_get_pmk() 333 pmksa_cache_get(sm->pmksa, src_addr, pmkid, NULL)) in wpa_supplicant_get_pmk() 339 } else if (sa && !sm->cur_pmksa && pmkid) { in wpa_supplicant_get_pmk() 546 if (ie.pmkid) { in wpa_supplicant_process_1_of_4() [all …]
|
D | wpa.h | 42 const u8 *pmkid); 44 const u8 *pmkid); 121 const u8 *pmkid, const u8 *bssid); 192 size_t pmk_len, const u8 *pmkid, in wpa_sm_set_pmk() argument
|
D | wpa_ie.h | 19 const u8 *pmkid; member
|
D | peerkey.c | 672 ie.pmkid == NULL) { in wpa_supplicant_process_stk_1_of_4() 676 if (os_memcmp_const(ie.pmkid, peerkey->smkid, PMKID_LEN) != 0) { in wpa_supplicant_process_stk_1_of_4() 678 ie.pmkid, PMKID_LEN); in wpa_supplicant_process_stk_1_of_4() 775 kde.pmkid == NULL || kde.rsn_ie == NULL) { in wpa_supplicant_process_stk_2_of_4() 780 if (os_memcmp_const(kde.pmkid, peerkey->smkid, PMKID_LEN) != 0) { in wpa_supplicant_process_stk_2_of_4() 782 kde.pmkid, PMKID_LEN); in wpa_supplicant_process_stk_2_of_4()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.h | 355 u8 *pmkid); 395 const u8 *pmkid; member 406 u8 *pmkid, int use_sha256); 409 const u8 *spa, u8 *pmkid); 412 const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b() argument 419 const u8 *spa, u8 *pmkid); 422 const u8 *aa, const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b_192() argument 434 int wpa_insert_pmkid(u8 *ies, size_t *ies_len, const u8 *pmkid);
|
D | wpa_common.c | 281 u8 *pmkid) in fils_pmkid_erp() argument 299 os_memcpy(pmkid, hash, PMKID_LEN); in fils_pmkid_erp() 300 wpa_hexdump(MSG_DEBUG, "FILS: PMKID", pmkid, PMKID_LEN); in fils_pmkid_erp() 622 if (data.num_pmkid == 1 && data.pmkid) in wpa_ft_parse_ies() 623 parse->rsn_pmkid = data.pmkid; in wpa_ft_parse_ies() 812 data->pmkid = NULL; in wpa_parse_wpa_ie_rsn() 939 data->pmkid = pos; in wpa_parse_wpa_ie_rsn() 1008 data->pmkid = NULL; in wpa_parse_wpa_ie_wpa() 1311 u8 *pmkid, int use_sha256) in rsn_pmkid() argument 1328 os_memcpy(pmkid, hash, PMKID_LEN); in rsn_pmkid() [all …]
|
D | sae.h | 48 u8 pmkid[SAE_PMKID_LEN]; 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() 1224 const u8 *pmkid) in wpa_driver_ndis_add_pmkid() argument 1233 entry = drv->pmkid; in wpa_driver_ndis_add_pmkid() 1244 os_memcpy(entry->pmkid, pmkid, 16); in wpa_driver_ndis_add_pmkid() 1247 entry->next = drv->pmkid; in wpa_driver_ndis_add_pmkid() 1248 drv->pmkid = entry; in wpa_driver_ndis_add_pmkid() 1254 os_memcpy(entry->pmkid, pmkid, 16); in wpa_driver_ndis_add_pmkid() 1255 entry->next = drv->pmkid; in wpa_driver_ndis_add_pmkid() [all …]
|
D | driver_ndis.h | 23 u8 pmkid[16]; member 46 struct ndis_pmkid_entry *pmkid; member
|
D | driver_wext.c | 2327 u32 cmd, const u8 *bssid, const u8 *pmkid) in wpa_driver_wext_pmksa() argument 2340 if (pmkid) in wpa_driver_wext_pmksa() 2341 os_memcpy(pmksa.pmkid, pmkid, IW_PMKID_LEN); in wpa_driver_wext_pmksa() 2357 const u8 *pmkid) in wpa_driver_wext_add_pmkid() argument 2360 return wpa_driver_wext_pmksa(drv, IW_PMKSA_ADD, bssid, pmkid); in wpa_driver_wext_add_pmkid() 2365 const u8 *pmkid) in wpa_driver_wext_remove_pmkid() argument 2368 return wpa_driver_wext_pmksa(drv, IW_PMKSA_REMOVE, bssid, pmkid); in wpa_driver_wext_remove_pmkid()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_rsn.c | 371 sta->sae->pmkid, sta->sae->pmk); in mesh_rsn_auth_sae_sta() 397 void mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid) in mesh_rsn_get_pmkid() argument 399 os_memcpy(pmkid, sta->sae->pmkid, SAE_PMKID_LEN); in mesh_rsn_get_pmkid() 641 if (chosen_pmk && os_memcmp(chosen_pmk, sta->sae->pmkid, PMKID_LEN)) { in mesh_rsn_process_ampe()
|
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 155 const u8 *bssid, const u8 *pmkid) in wpa_supplicant_remove_pmkid() argument
|
D | driver_i.h | 192 const u8 *bssid, const u8 *pmkid) in wpa_drv_add_pmkid() argument 195 return wpa_s->driver->add_pmkid(wpa_s->drv_priv, bssid, pmkid); in wpa_drv_add_pmkid() 201 const u8 *bssid, const u8 *pmkid) in wpa_drv_remove_pmkid() argument 205 pmkid); in wpa_drv_remove_pmkid()
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | wpa.h | 483 u8 pmkid[WPA_PMKID_LEN]; member
|