Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c57 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in wpa_derive_ptk_ft()
63 sm->pmk_r1_len = sm->pmk_r0_len; in wpa_derive_ptk_ft()
64 if (wpa_derive_pmk_r1(sm->pmk_r0, sm->pmk_r0_len, sm->pmk_r0_name, in wpa_derive_ptk_ft()
664 if (wpa_derive_pmk_r1(sm->pmk_r0, sm->pmk_r0_len, sm->pmk_r0_name, in wpa_ft_process_response()
668 sm->pmk_r1_len = sm->pmk_r0_len; in wpa_ft_process_response()
1360 if (wpa_derive_pmk_r1(sm->pmk_r0, sm->pmk_r0_len, sm->pmk_r0_name, in wpa_pasn_ft_derive_pmk_r1()
1365 *pmk_r1_len = sm->pmk_r0_len; in wpa_pasn_ft_derive_pmk_r1()
1367 wpa_hexdump_key(MSG_DEBUG, "PASN: FT: PMK-R1", pmk_r1, sm->pmk_r0_len); in wpa_pasn_ft_derive_pmk_r1()
Dwpa_i.h146 size_t pmk_r0_len; member
Dwpa.c3829 sm->pmk_r0_len = 0; in wpa_sm_drop_sa()
4559 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in fils_ft_build_assoc_req_rsne()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c1990 int wpa_derive_pmk_r1(const u8 *pmk_r0, size_t pmk_r0_len, in wpa_derive_pmk_r1() argument
2000 pmk_r0_len == SHA384_MAC_LEN ? "SHA384" : "SHA256"); in wpa_derive_pmk_r1()
2001 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R0", pmk_r0, pmk_r0_len); in wpa_derive_pmk_r1()
2011 if (pmk_r0_len == SHA384_MAC_LEN && in wpa_derive_pmk_r1()
2012 sha384_prf(pmk_r0, pmk_r0_len, "FT-R1", in wpa_derive_pmk_r1()
2013 buf, pos - buf, pmk_r1, pmk_r0_len) < 0) in wpa_derive_pmk_r1()
2016 if (pmk_r0_len == PMK_LEN && in wpa_derive_pmk_r1()
2017 sha256_prf(pmk_r0, pmk_r0_len, "FT-R1", in wpa_derive_pmk_r1()
2018 buf, pos - buf, pmk_r1, pmk_r0_len) < 0) in wpa_derive_pmk_r1()
2020 if (pmk_r0_len != SHA384_MAC_LEN && pmk_r0_len != PMK_LEN) { in wpa_derive_pmk_r1()
[all …]
Dwpa_common.h426 int wpa_derive_pmk_r1(const u8 *pmk_r0, size_t pmk_r0_len,
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c1172 size_t pmk_r0_len; member
1324 size_t pmk_r0_len, in wpa_ft_store_pmk_r0() argument
1342 os_memcpy(r0->pmk_r0, pmk_r0, pmk_r0_len); in wpa_ft_store_pmk_r0()
1343 r0->pmk_r0_len = pmk_r0_len; in wpa_ft_store_pmk_r0()
2060 size_t pmk_r0_len = wpa_key_mgmt_sha384(sm->wpa_key_mgmt) ? in wpa_ft_store_pmk_fils() local
2074 return wpa_ft_store_pmk_r0(sm->wpa_auth, sm->addr, pmk_r0, pmk_r0_len, in wpa_ft_store_pmk_fils()
2084 size_t pmk_r0_len = wpa_key_mgmt_sha384(sm->wpa_key_mgmt) ? in wpa_auth_derive_ptk_ft() local
2086 size_t pmk_r1_len = pmk_r0_len; in wpa_auth_derive_ptk_ft()
2133 wpa_ft_store_pmk_r0(sm->wpa_auth, sm->addr, pmk_r0, pmk_r0_len, in wpa_auth_derive_ptk_ft()
2139 if (wpa_derive_pmk_r1(pmk_r0, pmk_r0_len, pmk_r0_name, r1kh, sm->addr, in wpa_auth_derive_ptk_ft()
[all …]