Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ft.c1188 size_t pmk_r1_len; member
1409 size_t pmk_r1_len, in wpa_ft_store_pmk_r1() argument
1431 os_memcpy(r1->pmk_r1, pmk_r1, pmk_r1_len); in wpa_ft_store_pmk_r1()
1432 r1->pmk_r1_len = pmk_r1_len; in wpa_ft_store_pmk_r1()
1476 u8 *pmk_r1, size_t *pmk_r1_len, int *pairwise, in wpa_ft_fetch_pmk_r1() argument
1492 os_memcpy(pmk_r1, r1->pmk_r1, r1->pmk_r1_len); in wpa_ft_fetch_pmk_r1()
1493 *pmk_r1_len = r1->pmk_r1_len; in wpa_ft_fetch_pmk_r1()
2083 size_t pmk_r1_len = pmk_r0_len; in wpa_auth_derive_ptk_ft() local
2141 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", pmk_r1, pmk_r1_len); in wpa_auth_derive_ptk_ft()
2145 wpa_ft_store_pmk_r1(sm->wpa_auth, sm->addr, pmk_r1, pmk_r1_len, in wpa_auth_derive_ptk_ft()
[all …]
Dwpa_auth_i.h123 unsigned int pmk_r1_len; member
Dwpa_auth.c1764 sm->pmk_r1_len = 0; 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.c1190 size_t pmk_r1_len; member
1411 size_t pmk_r1_len, in wpa_ft_store_pmk_r1() argument
1433 os_memcpy(r1->pmk_r1, pmk_r1, pmk_r1_len); in wpa_ft_store_pmk_r1()
1434 r1->pmk_r1_len = pmk_r1_len; in wpa_ft_store_pmk_r1()
1478 u8 *pmk_r1, size_t *pmk_r1_len, int *pairwise, in wpa_ft_fetch_pmk_r1() argument
1494 os_memcpy(pmk_r1, r1->pmk_r1, r1->pmk_r1_len); in wpa_ft_fetch_pmk_r1()
1495 *pmk_r1_len = r1->pmk_r1_len; in wpa_ft_fetch_pmk_r1()
2086 size_t pmk_r1_len = pmk_r0_len; in wpa_auth_derive_ptk_ft() local
2143 wpa_ft_store_pmk_r1(sm->wpa_auth, sm->addr, pmk_r1, pmk_r1_len, in wpa_auth_derive_ptk_ft()
2148 return wpa_pmk_r1_to_ptk(pmk_r1, pmk_r1_len, sm->SNonce, sm->ANonce, in wpa_auth_derive_ptk_ft()
[all …]
Dwpa_auth_i.h128 unsigned int pmk_r1_len; member
Dwpa_auth.h478 u8 *pmk_r1, size_t *pmk_r1_len, int *pairwise,
Dieee802_11.c3106 size_t pmk_r1_len; in handle_auth_pasn_1() local
3317 pmk_r1, &pmk_r1_len, NULL, in handle_auth_pasn_1()
3327 cached_pmk_len = pmk_r1_len; in handle_auth_pasn_1()
Dwpa_auth.c1839 sm->pmk_r1_len = 0; in wpa_auth_sm_event()
2328 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/src/rsn_supp/
Dwpa_ft.c55 sm->pmk_r1_len = sm->pmk_r0_len; 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()
610 sm->pmk_r1_len = sm->pmk_r0_len; 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.h123 size_t pmk_r1_len; member
Dwpa.c3388 sm->pmk_r1_len = 0; in wpa_sm_drop_sa()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa_ft.c63 sm->pmk_r1_len = sm->pmk_r0_len; 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()
668 sm->pmk_r1_len = sm->pmk_r0_len; 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
1347 *pmk_r1_len = 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.h152 size_t pmk_r1_len; member
Dwpa.c3913 sm->pmk_r1_len = 0; in wpa_sm_drop_sa()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.c1696 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()
1741 if (pmk_r1_len != SHA384_MAC_LEN) { in wpa_pmk_r1_to_ptk()
1744 (int) pmk_r1_len, SHA384_MAC_LEN); in wpa_pmk_r1_to_ptk()
1747 if (sha384_prf(pmk_r1, pmk_r1_len, "FT-PTK", in wpa_pmk_r1_to_ptk()
1753 if (pmk_r1_len != PMK_LEN) { in wpa_pmk_r1_to_ptk()
1756 (int) pmk_r1_len, PMK_LEN); 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.h387 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.c2038 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()
2093 if (pmk_r1_len != SHA384_MAC_LEN) { in wpa_pmk_r1_to_ptk()
2096 (int) pmk_r1_len, SHA384_MAC_LEN); in wpa_pmk_r1_to_ptk()
2099 if (sha384_prf(pmk_r1, pmk_r1_len, "FT-PTK", in wpa_pmk_r1_to_ptk()
2105 if (pmk_r1_len != PMK_LEN) { in wpa_pmk_r1_to_ptk()
2108 (int) pmk_r1_len, PMK_LEN); 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.h432 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.c701 &pasn->pmk_r1_len, in wpas_pasn_build_auth_1()
894 pasn->pmk_r1_len = 0; in wpas_pasn_reset()
924 pasn->pmk_len = pasn->pmk_r1_len; in wpas_pasn_set_pmk()
925 os_memcpy(pasn->pmk, pasn->pmk_r1, pasn->pmk_r1_len); in wpas_pasn_set_pmk()
Dwpa_supplicant_i.h595 size_t pmk_r1_len; member