Home
last modified time | relevance | path

Searched refs:xxkey_len (Results 1 – 16 of 16) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.c1514 int wpa_derive_pmk_r0(const u8 *xxkey, size_t xxkey_len, in wpa_derive_pmk_r0() argument
1542 wpa_hexdump_key(MSG_DEBUG, "FT: XXKey", xxkey, xxkey_len); in wpa_derive_pmk_r0()
1561 if (xxkey_len != SHA384_MAC_LEN) { in wpa_derive_pmk_r0()
1564 (int) xxkey_len, SHA384_MAC_LEN); in wpa_derive_pmk_r0()
1567 if (sha384_prf(xxkey, xxkey_len, "FT-R0", buf, pos - buf, in wpa_derive_pmk_r0()
1573 if (xxkey_len != PMK_LEN) { in wpa_derive_pmk_r0()
1576 (int) xxkey_len, PMK_LEN); in wpa_derive_pmk_r0()
1579 if (sha256_prf(xxkey, xxkey_len, "FT-R0", buf, pos - buf, in wpa_derive_pmk_r0()
Dwpa_common.h376 int wpa_derive_pmk_r0(const u8 *xxkey, size_t xxkey_len,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_common.c1854 int wpa_derive_pmk_r0(const u8 *xxkey, size_t xxkey_len, in wpa_derive_pmk_r0() argument
1882 wpa_hexdump_key(MSG_DEBUG, "FT: XXKey", xxkey, xxkey_len); in wpa_derive_pmk_r0()
1901 if (xxkey_len != SHA384_MAC_LEN) { in wpa_derive_pmk_r0()
1904 (int) xxkey_len, SHA384_MAC_LEN); in wpa_derive_pmk_r0()
1907 if (sha384_prf(xxkey, xxkey_len, "FT-R0", buf, pos - buf, in wpa_derive_pmk_r0()
1913 if (xxkey_len != PMK_LEN) { in wpa_derive_pmk_r0()
1916 (int) xxkey_len, PMK_LEN); in wpa_derive_pmk_r0()
1919 if (sha256_prf(xxkey, xxkey_len, "FT-R0", buf, pos - buf, in wpa_derive_pmk_r0()
Dwpa_common.h421 int wpa_derive_pmk_r0(const u8 *xxkey, size_t xxkey_len,
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_i.h121 size_t xxkey_len; member
Dwpa_auth.c901 sm->xxkey_len = pmk_len; in wpa_try_alt_snonce()
1762 sm->xxkey_len = 0; in wpa_auth_sm_event()
2011 sm->xxkey_len = 0; in SM_STATE()
2048 sm->xxkey_len = SHA384_MAC_LEN; in SM_STATE()
2051 sm->xxkey_len = PMK_LEN; in SM_STATE()
2089 sm->xxkey_len = PMK_LEN; in SM_STATE()
2099 sm->xxkey_len = sm->pmksa->pmk_len; in SM_STATE()
2854 sm->xxkey_len = pmk_len; in SM_STATE()
Dwpa_auth_ft.c2101 if (sm->xxkey_len > 0) { in wpa_auth_derive_ptk_ft()
2103 mpmk_len = sm->xxkey_len; in wpa_auth_derive_ptk_ft()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_i.h126 size_t xxkey_len; member
Dwpa_auth.c967 sm->xxkey_len = pmk_len; in wpa_try_alt_snonce()
1837 sm->xxkey_len = 0; in wpa_auth_sm_event()
2100 sm->xxkey_len = 0; in SM_STATE()
2137 sm->xxkey_len = SHA384_MAC_LEN; in SM_STATE()
2140 sm->xxkey_len = PMK_LEN; in SM_STATE()
2178 sm->xxkey_len = PMK_LEN; in SM_STATE()
2188 sm->xxkey_len = sm->pmksa->pmk_len; in SM_STATE()
2982 sm->xxkey_len = pmk_len; in SM_STATE()
Dwpa_auth_ft.c2104 if (sm->xxkey_len > 0) { in wpa_auth_derive_ptk_ft()
2106 mpmk_len = sm->xxkey_len; in wpa_auth_derive_ptk_ft()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa.c247 if (wpa_sm_key_mgmt_set_pmk(sm, sm->xxkey, sm->xxkey_len)) in wpa_supplicant_key_mgmt_set_pmk()
292 sm->xxkey_len = 0; in wpa_supplicant_get_pmk()
302 sm->xxkey_len = sm->pmk_len; in wpa_supplicant_get_pmk()
332 sm->xxkey_len = SHA384_MAC_LEN; in wpa_supplicant_get_pmk()
335 sm->xxkey_len = PMK_LEN; in wpa_supplicant_get_pmk()
349 sm->xxkey, sm->xxkey_len); in wpa_supplicant_get_pmk()
351 sm->xxkey, sm->xxkey_len, in wpa_supplicant_get_pmk()
2844 sm->xxkey_len = pmk_len; in wpa_sm_set_pmk()
3384 sm->xxkey_len = 0; in wpa_sm_drop_sa()
Dwpa_ft.c34 if (sm->xxkey_len > 0) { in wpa_derive_ptk_ft()
36 mpmk_len = sm->xxkey_len; in wpa_derive_ptk_ft()
Dwpa_i.h118 size_t xxkey_len; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa.c262 if (wpa_sm_key_mgmt_set_pmk(sm, sm->xxkey, sm->xxkey_len)) in wpa_supplicant_key_mgmt_set_pmk()
307 sm->xxkey_len = 0; in wpa_supplicant_get_pmk()
317 sm->xxkey_len = sm->pmk_len; in wpa_supplicant_get_pmk()
347 sm->xxkey_len = SHA384_MAC_LEN; in wpa_supplicant_get_pmk()
350 sm->xxkey_len = PMK_LEN; in wpa_supplicant_get_pmk()
364 sm->xxkey, sm->xxkey_len); in wpa_supplicant_get_pmk()
366 sm->xxkey, sm->xxkey_len, in wpa_supplicant_get_pmk()
3178 sm->xxkey_len = pmk_len; in wpa_sm_set_pmk()
3909 sm->xxkey_len = 0; in wpa_sm_drop_sa()
Dwpa_ft.c45 if (sm->xxkey_len > 0) { in wpa_derive_ptk_ft()
47 mpmk_len = sm->xxkey_len; in wpa_derive_ptk_ft()
Dwpa_i.h147 size_t xxkey_len; member