Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c156 u8 pmk_r1[PMK_LEN]; member
165 struct wpa_ft_pmk_r1_sa *pmk_r1; member
191 r1 = cache->pmk_r1; in wpa_ft_pmk_cache_deinit()
195 os_memset(r1prev->pmk_r1, 0, PMK_LEN); in wpa_ft_pmk_cache_deinit()
254 const u8 *spa, const u8 *pmk_r1, in wpa_ft_store_pmk_r1() argument
266 os_memcpy(r1->pmk_r1, pmk_r1, PMK_LEN); in wpa_ft_store_pmk_r1()
271 r1->next = cache->pmk_r1; in wpa_ft_store_pmk_r1()
272 cache->pmk_r1 = r1; in wpa_ft_store_pmk_r1()
280 u8 *pmk_r1, int *pairwise) in wpa_ft_fetch_pmk_r1() argument
285 r1 = cache->pmk_r1; in wpa_ft_fetch_pmk_r1()
[all …]
Dwpa_auth.h70 u8 pmk_r1[PMK_LEN]; member
89 u8 pmk_r1[PMK_LEN]; member
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c42 sm->own_addr, sm->pmk_r1, sm->pmk_r1_name); in wpa_derive_ptk_ft()
43 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", sm->pmk_r1, PMK_LEN); in wpa_derive_ptk_ft()
46 wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, anonce, sm->own_addr, in wpa_derive_ptk_ft()
475 sm->own_addr, sm->pmk_r1, sm->pmk_r1_name); in wpa_ft_process_response()
476 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", sm->pmk_r1, PMK_LEN); in wpa_ft_process_response()
482 wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, ftie->anonce, sm->own_addr, in wpa_ft_process_response()
Dwpa_i.h112 u8 pmk_r1[PMK_LEN]; member
/external/wpa_supplicant_8/src/common/
Dwpa_common.h351 u8 *pmk_r1, u8 *pmk_r1_name);
352 void wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce,
Dwpa_common.c824 u8 *pmk_r1, u8 *pmk_r1_name) in wpa_derive_pmk_r1() argument
836 sha256_prf(pmk_r0, PMK_LEN, "FT-R1", buf, pos - buf, pmk_r1, PMK_LEN); in wpa_derive_pmk_r1()
847 void wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, in wpa_pmk_r1_to_ptk() argument
871 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, ptk, ptk_len); in wpa_pmk_r1_to_ptk()