Home
last modified time | relevance | path

Searched refs:pmk_r1 (Results 1 – 16 of 16) sorted by relevance

/hostap-3.7.0/src/ap/
Dwpa_auth_ft.c1189 u8 pmk_r1[PMK_LEN_MAX]; member
1205 struct dl_list pmk_r1; /* struct wpa_ft_pmk_r1_sa */ member
1275 os_memset(r1->pmk_r1, 0, PMK_LEN_MAX); in wpa_ft_free_pmk_r1()
1298 dl_list_init(&cache->pmk_r1); in wpa_ft_pmk_cache_init()
1314 dl_list_for_each_safe(r1, r1prev, &cache->pmk_r1, in wpa_ft_pmk_cache_deinit()
1410 const u8 *spa, const u8 *pmk_r1, in wpa_ft_store_pmk_r1() argument
1433 os_memcpy(r1->pmk_r1, pmk_r1, pmk_r1_len); in wpa_ft_store_pmk_r1()
1463 dl_list_add(&cache->pmk_r1, &r1->list); in wpa_ft_store_pmk_r1()
1478 u8 *pmk_r1, size_t *pmk_r1_len, int *pairwise, in wpa_ft_fetch_pmk_r1() argument
1490 dl_list_for_each(r1, &cache->pmk_r1, struct wpa_ft_pmk_r1_sa, list) { in wpa_ft_fetch_pmk_r1()
[all …]
Dwpa_auth_i.h127 u8 pmk_r1[PMK_LEN_MAX]; member
Dwpa_auth.h478 u8 *pmk_r1, size_t *pmk_r1_len, int *pairwise,
Dwpa_auth.c1822 os_memset(sm->pmk_r1, 0, sizeof(sm->pmk_r1)); in wpa_auth_sm_event()
2312 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, in wpa_derive_ptk()
Dieee802_11.c3115 u8 pmk_r1[PMK_LEN_MAX]; in handle_auth_pasn_1() local
3327 pmk_r1, &pmk_r1_len, NULL, in handle_auth_pasn_1()
3336 cached_pmk = pmk_r1; in handle_auth_pasn_1()
/hostap-3.7.0/src/rsn_supp/
Dwpa_ft.c65 sm->r1kh_id, sm->own_addr, sm->pmk_r1, in wpa_derive_ptk_ft()
78 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, sm->snonce, anonce, in wpa_derive_ptk_ft()
665 sm->r1kh_id, sm->own_addr, sm->pmk_r1, in wpa_ft_process_response()
681 if (wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, sm->snonce, in wpa_ft_process_response()
1318 u8 *pmk_r1, size_t *pmk_r1_len, u8 *pmk_r1_name) in wpa_pasn_ft_derive_pmk_r1() argument
1343 r1kh_entry->r1kh_id, sm->own_addr, pmk_r1, in wpa_pasn_ft_derive_pmk_r1()
1349 wpa_hexdump_key(MSG_DEBUG, "PASN: FT: PMK-R1", pmk_r1, sm->pmk_r0_len); in wpa_pasn_ft_derive_pmk_r1()
Dwpa.h468 u8 *pmk_r1, size_t *pmk_r1_len, u8 *pmk_r1_name);
518 u8 *pmk_r1, size_t *pmk_r1_len, u8 *pmk_r1_name) in wpa_pasn_ft_derive_pmk_r1() argument
Dwpa_i.h148 u8 pmk_r1[PMK_LEN_MAX]; member
Dwpa.c3855 os_memset(sm->pmk_r1, 0, sizeof(sm->pmk_r1)); in wpa_sm_drop_sa()
/hostap-3.7.0/src/common/
Dwpa_common.c1993 u8 *pmk_r1, u8 *pmk_r1_name) in wpa_derive_pmk_r1() argument
2013 buf, pos - buf, pmk_r1, pmk_r0_len) < 0) in wpa_derive_pmk_r1()
2018 buf, pos - buf, pmk_r1, pmk_r0_len) < 0) in wpa_derive_pmk_r1()
2025 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", pmk_r1, pmk_r0_len); in wpa_derive_pmk_r1()
2038 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, size_t pmk_r1_len, in wpa_pmk_r1_to_ptk() argument
2067 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", pmk_r1, pmk_r1_len); in wpa_pmk_r1_to_ptk()
2099 if (sha384_prf(pmk_r1, pmk_r1_len, "FT-PTK", in wpa_pmk_r1_to_ptk()
2111 if (sha256_prf(pmk_r1, pmk_r1_len, "FT-PTK", in wpa_pmk_r1_to_ptk()
Dwpa_common.h429 u8 *pmk_r1, u8 *pmk_r1_name);
430 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, size_t pmk_r1_len, const u8 *snonce,
/hostap-3.7.0/wpa_supplicant/
Dpasn_supplicant.c695 pasn->pmk_r1, in wpas_pasn_build_auth_1()
888 forced_memzero(pasn->pmk_r1, sizeof(pasn->pmk_r1)); in wpas_pasn_reset()
920 os_memcpy(pasn->pmk, pasn->pmk_r1, pasn->pmk_r1_len); in wpas_pasn_set_pmk()
Dwpa_supplicant_i.h587 u8 pmk_r1[PMK_LEN_MAX]; member
/hostap-3.7.0/wlantest/
Drx_mgmt.c286 bss->r1kh_id, sta->addr, sta->pmk_r1, in process_ft_auth()
292 wpa_pmk_r1_to_ptk(sta->pmk_r1, sta->pmk_r1_len, parse.fte_snonce, in process_ft_auth()
1764 bss->r1kh_id, sta->addr, sta->pmk_r1, in rx_mgmt_action_ft_response()
1776 os_memcpy(new_sta->pmk_r1, sta->pmk_r1, sta->pmk_r1_len); in rx_mgmt_action_ft_response()
1781 wpa_pmk_r1_to_ptk(sta->pmk_r1, sta->pmk_r1_len, parse.fte_snonce, in rx_mgmt_action_ft_response()
Dwlantest.h80 u8 pmk_r1[PMK_LEN_MAX]; member
Drx_eapol.c116 sta->pmk_r1, sta->pmk_r1_name) < 0) in try_pmk()
119 if (wpa_pmk_r1_to_ptk(sta->pmk_r1, sta->pmk_r1_len, in try_pmk()