Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ft.c1187 u8 pmk_r1[PMK_LEN_MAX]; member
1203 struct dl_list pmk_r1; /* struct wpa_ft_pmk_r1_sa */ member
1273 os_memset(r1->pmk_r1, 0, PMK_LEN_MAX); in wpa_ft_free_pmk_r1()
1296 dl_list_init(&cache->pmk_r1); in wpa_ft_pmk_cache_init()
1312 dl_list_for_each_safe(r1, r1prev, &cache->pmk_r1, in wpa_ft_pmk_cache_deinit()
1408 const u8 *spa, const u8 *pmk_r1, in wpa_ft_store_pmk_r1() argument
1431 os_memcpy(r1->pmk_r1, pmk_r1, pmk_r1_len); in wpa_ft_store_pmk_r1()
1461 dl_list_add(&cache->pmk_r1, &r1->list); in wpa_ft_store_pmk_r1()
1476 u8 *pmk_r1, size_t *pmk_r1_len, int *pairwise, in wpa_ft_fetch_pmk_r1() argument
1488 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.h122 u8 pmk_r1[PMK_LEN_MAX]; member
Dwpa_auth.c1763 os_memset(sm->pmk_r1, 0, sizeof(sm->pmk_r1)); in wpa_auth_sm_event()
2230 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, in wpa_derive_ptk()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.c1838 os_memset(sm->pmk_r1, 0, sizeof(sm->pmk_r1)); in wpa_auth_sm_event()
2328 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, in wpa_derive_ptk()
Dieee802_11.c3105 u8 pmk_r1[PMK_LEN_MAX]; in handle_auth_pasn_1() local
3317 pmk_r1, &pmk_r1_len, NULL, in handle_auth_pasn_1()
3326 cached_pmk = pmk_r1; in handle_auth_pasn_1()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa_ft.c57 sm->r1kh_id, sm->own_addr, sm->pmk_r1, in wpa_derive_ptk_ft()
60 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", sm->pmk_r1, sm->pmk_r1_len); in wpa_derive_ptk_ft()
63 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, sm->snonce, anonce, in wpa_derive_ptk_ft()
607 sm->r1kh_id, sm->own_addr, sm->pmk_r1, in wpa_ft_process_response()
611 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", sm->pmk_r1, sm->pmk_r1_len); in wpa_ft_process_response()
616 if (wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, sm->snonce, in wpa_ft_process_response()
Dwpa_i.h122 u8 pmk_r1[PMK_LEN_MAX]; member
Dwpa.c3387 os_memset(sm->pmk_r1, 0, sizeof(sm->pmk_r1)); in wpa_sm_drop_sa()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.h465 u8 *pmk_r1, size_t *pmk_r1_len, u8 *pmk_r1_name);
515 u8 *pmk_r1, size_t *pmk_r1_len, u8 *pmk_r1_name) in wpa_pasn_ft_derive_pmk_r1() argument
Dwpa_i.h151 u8 pmk_r1[PMK_LEN_MAX]; member
Dwpa.c3912 os_memset(sm->pmk_r1, 0, sizeof(sm->pmk_r1)); in wpa_sm_drop_sa()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.c1651 u8 *pmk_r1, u8 *pmk_r1_name) in wpa_derive_pmk_r1() argument
1671 buf, pos - buf, pmk_r1, pmk_r0_len) < 0) in wpa_derive_pmk_r1()
1676 buf, pos - buf, pmk_r1, pmk_r0_len) < 0) in wpa_derive_pmk_r1()
1683 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", pmk_r1, pmk_r0_len); in wpa_derive_pmk_r1()
1696 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, size_t pmk_r1_len, in wpa_pmk_r1_to_ptk() argument
1716 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", pmk_r1, pmk_r1_len); in wpa_pmk_r1_to_ptk()
1747 if (sha384_prf(pmk_r1, pmk_r1_len, "FT-PTK", in wpa_pmk_r1_to_ptk()
1759 if (sha256_prf(pmk_r1, pmk_r1_len, "FT-PTK", in wpa_pmk_r1_to_ptk()
Dwpa_common.h386 u8 *pmk_r1, u8 *pmk_r1_name);
387 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, size_t pmk_r1_len, const u8 *snonce,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.h431 u8 *pmk_r1, u8 *pmk_r1_name);
432 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, size_t pmk_r1_len, const u8 *snonce,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dpasn_supplicant.c700 pasn->pmk_r1, in wpas_pasn_build_auth_1()
893 forced_memzero(pasn->pmk_r1, sizeof(pasn->pmk_r1)); in wpas_pasn_reset()
925 os_memcpy(pasn->pmk, pasn->pmk_r1, pasn->pmk_r1_len); in wpas_pasn_set_pmk()
Dwpa_supplicant_i.h594 u8 pmk_r1[PMK_LEN_MAX]; member