Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c157 u8 pmk_r1[PMK_LEN]; member
166 struct wpa_ft_pmk_r1_sa *pmk_r1; member
192 r1 = cache->pmk_r1; in wpa_ft_pmk_cache_deinit()
196 os_memset(r1prev->pmk_r1, 0, PMK_LEN); in wpa_ft_pmk_cache_deinit()
255 const u8 *spa, const u8 *pmk_r1, in wpa_ft_store_pmk_r1() argument
267 os_memcpy(r1->pmk_r1, pmk_r1, PMK_LEN); in wpa_ft_store_pmk_r1()
272 r1->next = cache->pmk_r1; in wpa_ft_store_pmk_r1()
273 cache->pmk_r1 = r1; in wpa_ft_store_pmk_r1()
281 u8 *pmk_r1, int *pairwise) in wpa_ft_fetch_pmk_r1() argument
286 r1 = cache->pmk_r1; in wpa_ft_fetch_pmk_r1()
[all …]
Dwpa_auth.h78 u8 pmk_r1[PMK_LEN]; member
101 u8 pmk_r1[PMK_LEN]; member
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c41 sm->own_addr, sm->pmk_r1, sm->pmk_r1_name); in wpa_derive_ptk_ft()
42 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", sm->pmk_r1, PMK_LEN); in wpa_derive_ptk_ft()
45 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, anonce, sm->own_addr, in wpa_derive_ptk_ft()
470 sm->own_addr, sm->pmk_r1, sm->pmk_r1_name); in wpa_ft_process_response()
471 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", sm->pmk_r1, PMK_LEN); in wpa_ft_process_response()
476 if (wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, ftie->anonce, in wpa_ft_process_response()
Dwpa_i.h119 u8 pmk_r1[PMK_LEN]; member
Dwpa.c2883 os_memset(sm->pmk_r1, 0, sizeof(sm->pmk_r1)); in wpa_sm_drop_sa()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h359 u8 *pmk_r1, u8 *pmk_r1_name);
360 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce,
Dwpa_common.c939 u8 *pmk_r1, u8 *pmk_r1_name) in wpa_derive_pmk_r1() argument
951 sha256_prf(pmk_r0, PMK_LEN, "FT-R1", buf, pos - buf, pmk_r1, PMK_LEN); in wpa_derive_pmk_r1()
962 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, in wpa_pmk_r1_to_ptk() argument
993 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, tmp, ptk_len); in wpa_pmk_r1_to_ptk()