/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | wpa_common.c | 1648 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 …]
|
D | wpa_common.h | 383 int wpa_derive_pmk_r1(const u8 *pmk_r0, size_t pmk_r0_len,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/ |
D | wpa_ft.c | 57 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() 1342 if (wpa_derive_pmk_r1(sm->pmk_r0, sm->pmk_r0_len, sm->pmk_r0_name, in wpa_pasn_ft_derive_pmk_r1() 1347 *pmk_r1_len = sm->pmk_r0_len; 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()
|
D | wpa_i.h | 146 size_t pmk_r0_len; member
|
D | wpa.c | 3854 sm->pmk_r0_len = 0; in wpa_sm_drop_sa() 4550 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in fils_ft_build_assoc_req_rsne()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
D | wpa_ft.c | 46 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in wpa_derive_ptk_ft() 52 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R0", sm->pmk_r0, sm->pmk_r0_len); in wpa_derive_ptk_ft() 55 sm->pmk_r1_len = sm->pmk_r0_len; in wpa_derive_ptk_ft() 56 if (wpa_derive_pmk_r1(sm->pmk_r0, sm->pmk_r0_len, sm->pmk_r0_name, in wpa_derive_ptk_ft() 606 if (wpa_derive_pmk_r1(sm->pmk_r0, sm->pmk_r0_len, sm->pmk_r0_name, in wpa_ft_process_response() 610 sm->pmk_r1_len = sm->pmk_r0_len; in wpa_ft_process_response()
|
D | wpa_i.h | 120 size_t pmk_r0_len; member
|
D | wpa.c | 3386 sm->pmk_r0_len = 0; in wpa_sm_drop_sa() 4048 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in fils_ft_build_assoc_req_rsne() 4050 sm->pmk_r0, sm->pmk_r0_len); in fils_ft_build_assoc_req_rsne()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | wpa_common.c | 1990 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 …]
|
D | wpa_common.h | 426 int wpa_derive_pmk_r1(const u8 *pmk_r0, size_t pmk_r0_len,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | wpa_auth_ft.c | 1170 size_t pmk_r0_len; member 1322 size_t pmk_r0_len, in wpa_ft_store_pmk_r0() argument 1340 os_memcpy(r0->pmk_r0, pmk_r0, pmk_r0_len); in wpa_ft_store_pmk_r0() 1341 r0->pmk_r0_len = pmk_r0_len; in wpa_ft_store_pmk_r0() 2057 size_t pmk_r0_len = wpa_key_mgmt_sha384(sm->wpa_key_mgmt) ? in wpa_ft_store_pmk_fils() local 2071 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() 2129 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R0", pmk_r0, pmk_r0_len); in wpa_auth_derive_ptk_ft() 2132 wpa_ft_store_pmk_r0(sm->wpa_auth, sm->addr, pmk_r0, pmk_r0_len, in wpa_auth_derive_ptk_ft() [all …]
|
D | wpa_auth.c | 2284 size_t pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in fils_auth_pmk_to_ptk() local 2296 pmk_r0, pmk_r0_len); in fils_auth_pmk_to_ptk()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | wpa_auth_ft.c | 1172 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 …]
|