/freebsd/contrib/wpa/src/ap/ |
H A D | wpa_auth_i.h | 131 u8 pmk_r1[PMK_LEN_MAX]; member 335 u8 *pmk_r0, u8 *pmk_r1, u8 *pmk_r0_name, 338 const u8 *pmk_r1, const u8 *pmk_r0_name,
|
H A D | wpa_auth_ft.c | 1223 u8 pmk_r1[PMK_LEN_MAX]; member 1239 struct dl_list pmk_r1; /* struct wpa_ft_pmk_r1_sa */ member 1309 os_memset(r1->pmk_r1, 0, PMK_LEN_MAX); in wpa_ft_free_pmk_r1() 1332 dl_list_init(&cache->pmk_r1); in wpa_ft_pmk_cache_init() 1348 dl_list_for_each_safe(r1, r1prev, &cache->pmk_r1, in wpa_ft_pmk_cache_deinit() 1444 const u8 *spa, const u8 *pmk_r1, in wpa_ft_store_pmk_r1() argument 1467 os_memcpy(r1->pmk_r1, pmk_r1, pmk_r1_len); in wpa_ft_store_pmk_r1() 1497 dl_list_add(&cache->pmk_r1, &r1->list); in wpa_ft_store_pmk_r1() 1512 u8 *pmk_r1, size_t *pmk_r1_len, int *pairwise, in wpa_ft_fetch_pmk_r1() argument 1524 dl_list_for_each(r1, &cache->pmk_r1, struct wpa_ft_pmk_r1_sa, list) { in wpa_ft_fetch_pmk_r1() [all …]
|
H A D | wpa_auth.c | 64 u8 *pmk_r0, u8 *pmk_r1, u8 *pmk_r0_name, 1301 u8 pmk_r1[PMK_LEN_MAX]; local 1326 pmk_r0, pmk_r1, pmk_r0_name, &key_len, 1362 wpa_auth_ft_store_keys(sm, pmk_r0, pmk_r1, pmk_r0_name, 1375 forced_memzero(pmk_r1, sizeof(pmk_r1)); 2330 os_memset(sm->pmk_r1, 0, sizeof(sm->pmk_r1)); 2862 u8 *pmk_r0, u8 *pmk_r1, u8 *pmk_r0_name, argument 2882 ret = wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, 2890 ret = wpa_auth_derive_ptk_ft(sm, ptk, pmk_r0, pmk_r1, 3643 u8 pmk_r1[PMK_LEN_MAX]; local [all …]
|
H A D | wpa_auth.h | 542 u8 *pmk_r1, size_t *pmk_r1_len, int *pairwise,
|
H A D | ieee802_11.c | 2761 pasn->pmk_r1, &pasn->pmk_r1_len, NULL, in hapd_pasn_update_params()
|
/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | wpa_ft.c | 70 sm->r1kh_id, sm->own_addr, sm->pmk_r1, in wpa_derive_ptk_ft() 83 ret = wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, sm->snonce, in wpa_derive_ptk_ft() 694 sm->r1kh_id, sm->own_addr, sm->pmk_r1, in wpa_ft_process_response() 711 if (wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, sm->snonce, in wpa_ft_process_response() 1368 u8 *pmk_r1, size_t *pmk_r1_len, u8 *pmk_r1_name) in wpa_pasn_ft_derive_pmk_r1() argument 1393 r1kh_entry->r1kh_id, sm->own_addr, pmk_r1, in wpa_pasn_ft_derive_pmk_r1() 1399 wpa_hexdump_key(MSG_DEBUG, "PASN: FT: PMK-R1", pmk_r1, sm->pmk_r0_len); in wpa_pasn_ft_derive_pmk_r1()
|
H A D | wpa.h | 506 u8 *pmk_r1, size_t *pmk_r1_len, u8 *pmk_r1_name); 557 u8 *pmk_r1, size_t *pmk_r1_len, u8 *pmk_r1_name) in wpa_pasn_ft_derive_pmk_r1() argument
|
H A D | wpa_i.h | 150 u8 pmk_r1[PMK_LEN_MAX]; member
|
H A D | wpa.c | 5217 os_memset(sm->pmk_r1, 0, sizeof(sm->pmk_r1)); in wpa_sm_drop_sa()
|
/freebsd/contrib/wpa/src/pasn/ |
H A D | pasn_common.h | 100 u8 pmk_r1[PMK_LEN_MAX]; member
|
H A D | pasn_initiator.c | 737 forced_memzero(pasn->pmk_r1, sizeof(pasn->pmk_r1)); in wpa_pasn_reset() 783 os_memcpy(pasn->pmk, pasn->pmk_r1, pasn->pmk_r1_len); in wpas_pasn_set_pmk()
|
H A D | pasn_responder.c | 837 cached_pmk = pasn->pmk_r1; in handle_auth_pasn_1()
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_common.c | 2370 u8 *pmk_r1, u8 *pmk_r1_name) in wpa_derive_pmk_r1() argument 2392 buf, pos - buf, pmk_r1, pmk_r0_len); in wpa_derive_pmk_r1() 2397 buf, pos - buf, pmk_r1, pmk_r0_len); in wpa_derive_pmk_r1() 2401 buf, pos - buf, pmk_r1, pmk_r0_len); in wpa_derive_pmk_r1() 2406 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", pmk_r1, pmk_r0_len); in wpa_derive_pmk_r1() 2418 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, size_t pmk_r1_len, in wpa_pmk_r1_to_ptk() argument 2456 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", pmk_r1, pmk_r1_len); in wpa_pmk_r1_to_ptk() 2489 res = sha512_prf(pmk_r1, pmk_r1_len, "FT-PTK", in wpa_pmk_r1_to_ptk() 2501 res = sha384_prf(pmk_r1, pmk_r1_len, "FT-PTK", in wpa_pmk_r1_to_ptk() 2512 res = sha256_prf(pmk_r1, pmk_r1_len, "FT-PTK", in wpa_pmk_r1_to_ptk()
|
H A D | wpa_common.h | 506 u8 *pmk_r1, u8 *pmk_r1_name); 507 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, size_t pmk_r1_len, const u8 *snonce,
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | pasn_supplicant.c | 638 pasn->pmk_r1, in wpas_pasn_auth_start_cb()
|