Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/common/
Dwpa_common.c1648 int wpa_derive_pmk_r1(const u8 *pmk_r0, size_t pmk_r0_len, in wpa_derive_pmk_r1() argument
1658 pmk_r0_len == SHA384_MAC_LEN ? "SHA384" : "SHA256"); in wpa_derive_pmk_r1()
1659 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R0", pmk_r0, pmk_r0_len); in wpa_derive_pmk_r1()
1669 if (pmk_r0_len == SHA384_MAC_LEN && in wpa_derive_pmk_r1()
1670 sha384_prf(pmk_r0, pmk_r0_len, "FT-R1", in wpa_derive_pmk_r1()
1671 buf, pos - buf, pmk_r1, pmk_r0_len) < 0) in wpa_derive_pmk_r1()
1674 if (pmk_r0_len == PMK_LEN && in wpa_derive_pmk_r1()
1675 sha256_prf(pmk_r0, pmk_r0_len, "FT-R1", in wpa_derive_pmk_r1()
1676 buf, pos - buf, pmk_r1, pmk_r0_len) < 0) in wpa_derive_pmk_r1()
1678 if (pmk_r0_len != SHA384_MAC_LEN && pmk_r0_len != PMK_LEN) { in wpa_derive_pmk_r1()
[all …]
Dwpa_common.h383 int wpa_derive_pmk_r1(const u8 *pmk_r0, size_t pmk_r0_len,
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c37 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in wpa_derive_ptk_ft()
43 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R0", sm->pmk_r0, sm->pmk_r0_len); in wpa_derive_ptk_ft()
46 sm->pmk_r1_len = sm->pmk_r0_len; in wpa_derive_ptk_ft()
47 if (wpa_derive_pmk_r1(sm->pmk_r0, sm->pmk_r0_len, sm->pmk_r0_name, in wpa_derive_ptk_ft()
597 if (wpa_derive_pmk_r1(sm->pmk_r0, sm->pmk_r0_len, sm->pmk_r0_name, in wpa_ft_process_response()
601 sm->pmk_r1_len = sm->pmk_r0_len; in wpa_ft_process_response()
Dwpa_i.h120 size_t pmk_r0_len; member
Dwpa.c3356 sm->pmk_r0_len = 0; in wpa_sm_drop_sa()
4018 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in fils_ft_build_assoc_req_rsne()
4020 sm->pmk_r0, sm->pmk_r0_len); in fils_ft_build_assoc_req_rsne()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c1169 size_t pmk_r0_len; member
1321 size_t pmk_r0_len, in wpa_ft_store_pmk_r0() argument
1339 os_memcpy(r0->pmk_r0, pmk_r0, pmk_r0_len); in wpa_ft_store_pmk_r0()
1340 r0->pmk_r0_len = pmk_r0_len; in wpa_ft_store_pmk_r0()
2056 size_t pmk_r0_len = wpa_key_mgmt_sha384(sm->wpa_key_mgmt) ? in wpa_ft_store_pmk_fils() local
2070 return wpa_ft_store_pmk_r0(sm->wpa_auth, sm->addr, pmk_r0, pmk_r0_len, in wpa_ft_store_pmk_fils()
2081 size_t pmk_r0_len = wpa_key_mgmt_sha384(sm->wpa_key_mgmt) ? in wpa_auth_derive_ptk_ft() local
2083 size_t pmk_r1_len = pmk_r0_len; in wpa_auth_derive_ptk_ft()
2121 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R0", pmk_r0, pmk_r0_len); in wpa_auth_derive_ptk_ft()
2124 wpa_ft_store_pmk_r0(sm->wpa_auth, sm->addr, pmk_r0, pmk_r0_len, in wpa_auth_derive_ptk_ft()
[all …]
Dwpa_auth.c2221 size_t pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in fils_auth_pmk_to_ptk() local
2233 pmk_r0, pmk_r0_len); in fils_auth_pmk_to_ptk()