Home
last modified time | relevance | path

Searched refs:kdk_len (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/src/common/
Dwpa_common.c352 const u8 *z, size_t z_len, size_t kdk_len) in wpa_pmk_to_ptk() argument
400 if (kdk_len > WPA_KDK_MAX_LEN) { in wpa_pmk_to_ptk()
403 kdk_len); in wpa_pmk_to_ptk()
410 ptk->kdk_len = kdk_len; in wpa_pmk_to_ptk()
417 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len + ptk->kdk_len; in wpa_pmk_to_ptk()
501 if (kdk_len) { in wpa_pmk_to_ptk()
503 ptk->tk_len, ptk->kdk_len); in wpa_pmk_to_ptk()
504 wpa_hexdump_key(MSG_DEBUG, "WPA: KDK", ptk->kdk, ptk->kdk_len); in wpa_pmk_to_ptk()
595 u8 *fils_ft, size_t *fils_ft_len, size_t kdk_len) in fils_pmk_to_ptk() argument
646 if (kdk_len) { in fils_pmk_to_ptk()
[all …]
Dwpa_common.h242 size_t kdk_len; member
392 const u8 *z, size_t z_len, size_t kdk_len);
402 u8 *fils_ft, size_t *fils_ft_len, size_t kdk_len);
434 size_t kdk_len);
637 size_t kdk_len);
Dcommon_module_tests.c704 if (ptk.kdk_len != sizeof(kdk) || in pasn_test_pasn_auth()
789 if (ptk.kdk_len != sizeof(kdk) || in pasn_test_no_pasn_auth()
Dptksa_cache.c204 e->ptk.kdk_len); in ptksa_cache_list()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c43 size_t mpmk_len, kdk_len; in wpa_derive_ptk_ft() local
74 kdk_len = WPA_KDK_MAX_LEN; in wpa_derive_ptk_ft()
76 kdk_len = 0; in wpa_derive_ptk_ft()
81 kdk_len); in wpa_derive_ptk_ft()
549 size_t kck_len, kdk_len; in wpa_ft_process_response() local
677 kdk_len = WPA_KDK_MAX_LEN; in wpa_ft_process_response()
679 kdk_len = 0; in wpa_ft_process_response()
685 kdk_len) < 0) in wpa_ft_process_response()
Dwpa.c583 size_t z_len = 0, kdk_len; in wpa_derive_ptk() local
611 kdk_len = WPA_KDK_MAX_LEN; in wpa_derive_ptk()
613 kdk_len = 0; in wpa_derive_ptk()
619 kdk_len); in wpa_derive_ptk()
4187 size_t g_ap_len = 0, kdk_len; in fils_process_auth() local
4418 kdk_len = WPA_KDK_MAX_LEN; in fils_process_auth()
4420 kdk_len = 0; in fils_process_auth()
4429 kdk_len) < 0) { in fils_process_auth()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth.c2290 size_t z_len = 0, kdk_len; in wpa_derive_ptk() local
2297 kdk_len = WPA_KDK_MAX_LEN; in wpa_derive_ptk()
2299 kdk_len = 0; in wpa_derive_ptk()
2313 kdk_len); in wpa_derive_ptk()
2331 ptk, akmp, sm->pairwise, z, z_len, kdk_len); in wpa_derive_ptk()
2346 size_t fils_ft_len = 0, kdk_len; in fils_auth_pmk_to_ptk() local
2352 kdk_len = WPA_KDK_MAX_LEN; in fils_auth_pmk_to_ptk()
2354 kdk_len = 0; in fils_auth_pmk_to_ptk()
2360 fils_ft, &fils_ft_len, kdk_len); in fils_auth_pmk_to_ptk()
Dwpa_auth_ft.c3069 size_t pmk_r1_len, kdk_len; in wpa_ft_process_auth_req() local
3203 kdk_len = WPA_KDK_MAX_LEN; in wpa_ft_process_auth_req()
3205 kdk_len = 0; in wpa_ft_process_auth_req()
3210 pairwise, kdk_len) < 0) in wpa_ft_process_auth_req()