Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/ap/
H A Dwpa_auth_i.h131 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 Dwpa_auth_ft.c1223 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 Dwpa_auth.c64 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 Dwpa_auth.h542 u8 *pmk_r1, size_t *pmk_r1_len, int *pairwise,
H A Dieee802_11.c2761 pasn->pmk_r1, &pasn->pmk_r1_len, NULL, in hapd_pasn_update_params()
/freebsd/contrib/wpa/src/rsn_supp/
H A Dwpa_ft.c70 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 Dwpa.h506 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 Dwpa_i.h150 u8 pmk_r1[PMK_LEN_MAX]; member
H A Dwpa.c5217 os_memset(sm->pmk_r1, 0, sizeof(sm->pmk_r1)); in wpa_sm_drop_sa()
/freebsd/contrib/wpa/src/pasn/
H A Dpasn_common.h100 u8 pmk_r1[PMK_LEN_MAX]; member
H A Dpasn_initiator.c737 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 Dpasn_responder.c837 cached_pmk = pasn->pmk_r1; in handle_auth_pasn_1()
/freebsd/contrib/wpa/src/common/
H A Dwpa_common.c2370 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 Dwpa_common.h506 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 Dpasn_supplicant.c638 pasn->pmk_r1, in wpas_pasn_auth_start_cb()