Home
last modified time | relevance | path

Searched refs:kdk_len (Results 1 - 12 of 12) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dwpa_common.c372 * @kdk_len: The length in octets that should be derived for KDK
388 const u8 *z, size_t z_len, size_t kdk_len) in wpa_pmk_to_ptk()
436 if (kdk_len > WPA_KDK_MAX_LEN) { in wpa_pmk_to_ptk()
439 kdk_len); in wpa_pmk_to_ptk()
446 ptk->kdk_len = kdk_len; in wpa_pmk_to_ptk()
453 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len + ptk->kdk_len; in wpa_pmk_to_ptk()
567 if (kdk_len) { in wpa_pmk_to_ptk()
569 ptk->tk_len, ptk->kdk_len); in wpa_pmk_to_ptk()
570 wpa_hexdump_key(MSG_DEBUG, "WPA: KDK", ptk->kdk, ptk->kdk_len); in wpa_pmk_to_ptk()
384 wpa_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const char *label, const u8 *addr1, const u8 *addr2, const u8 *nonce1, const u8 *nonce2, struct wpa_ptk *ptk, int akmp, int cipher, const u8 *z, size_t z_len, size_t kdk_len) wpa_pmk_to_ptk() argument
657 fils_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const u8 *spa, const u8 *aa, const u8 *snonce, const u8 *anonce, const u8 *dhss, size_t dhss_len, struct wpa_ptk *ptk, u8 *ick, size_t *ick_len, int akmp, int cipher, u8 *fils_ft, size_t *fils_ft_len, size_t kdk_len) fils_pmk_to_ptk() argument
1275 pasn_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const u8 *spa, const u8 *bssid, const u8 *dhss, size_t dhss_len, struct wpa_ptk *ptk, int akmp, int cipher, size_t kdk_len) pasn_pmk_to_ptk() argument
2106 wpa_pmk_r1_to_ptk(const u8 *pmk_r1, size_t pmk_r1_len, const u8 *snonce, const u8 *anonce, const u8 *sta_addr, const u8 *bssid, const u8 *pmk_r1_name, struct wpa_ptk *ptk, u8 *ptk_name, int akmp, int cipher, size_t kdk_len) wpa_pmk_r1_to_ptk() argument
[all...]
H A Dwpa_common.h259 size_t kdk_len; member
445 const u8 *z, size_t z_len, size_t kdk_len);
455 u8 *fils_ft, size_t *fils_ft_len, size_t kdk_len);
487 size_t kdk_len);
713 size_t kdk_len);
H A Dptksa_cache.c204 e->ptk.kdk_len); in ptksa_cache_list()
H A Dcommon_module_tests.c675 if (ptk.kdk_len != sizeof(kdk) || in pasn_test_pasn_auth()
760 if (ptk.kdk_len != sizeof(kdk) || in pasn_test_no_pasn_auth()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
H A 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()
85 kdk_len); in wpa_derive_ptk_ft()
557 size_t kck_len, kdk_len;
685 kdk_len = WPA_KDK_MAX_LEN;
687 kdk_len = 0;
693 kdk_len) < 0)
H A Dwpa.c634 size_t z_len = 0, kdk_len; in wpa_derive_ptk() local
662 kdk_len = WPA_KDK_MAX_LEN; in wpa_derive_ptk()
664 kdk_len = 0; in wpa_derive_ptk()
676 kdk_len); in wpa_derive_ptk()
5388 size_t g_ap_len = 0, kdk_len;
5619 kdk_len = WPA_KDK_MAX_LEN;
5621 kdk_len = 0;
5635 kdk_len) < 0) {
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dsta_info.h91 size_t kdk_len; member
H A Dwpa_auth.c2328 size_t z_len = 0, kdk_len; in wpa_derive_ptk() local
2334 kdk_len = WPA_KDK_MAX_LEN; in wpa_derive_ptk()
2336 kdk_len = 0; in wpa_derive_ptk()
2350 kdk_len); in wpa_derive_ptk()
2368 ptk, akmp, sm->pairwise, z, z_len, kdk_len); in wpa_derive_ptk()
2383 size_t fils_ft_len = 0, kdk_len; in fils_auth_pmk_to_ptk() local
2388 kdk_len = WPA_KDK_MAX_LEN; in fils_auth_pmk_to_ptk()
2390 kdk_len = 0; in fils_auth_pmk_to_ptk()
2396 fils_ft, &fils_ft_len, kdk_len); in fils_auth_pmk_to_ptk()
H A Dwpa_auth_ft.c3069 size_t pmk_r1_len, kdk_len; in wpa_ft_process_auth_req() local
3202 kdk_len = WPA_KDK_MAX_LEN; in wpa_ft_process_auth_req()
3204 kdk_len = 0; in wpa_ft_process_auth_req()
3209 pairwise, kdk_len) < 0) in wpa_ft_process_auth_req()
H A Dieee802_11.c2671 sta->pasn->cipher, sta->pasn->kdk_len); in pasn_fils_auth_resp()
2908 sta->pasn->cipher, sta->pasn->kdk_len); in pasn_derive_keys()
3180 sta->pasn->kdk_len = WPA_KDK_MAX_LEN; in handle_auth_pasn_1()
3182 sta->pasn->kdk_len = 0; in handle_auth_pasn_1()
3183 wpa_printf(MSG_DEBUG, "PASN: kdk_len=%zu", sta->pasn->kdk_len); in handle_auth_pasn_1()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dpasn_supplicant.c1097 pasn->kdk_len = WPA_KDK_MAX_LEN; in wpas_pasn_start()
1099 pasn->kdk_len = 0; in wpas_pasn_start()
1100 wpa_printf(MSG_DEBUG, "PASN: kdk_len=%zu", pasn->kdk_len); in wpas_pasn_start()
1530 pasn->kdk_len); in wpas_pasn_auth_rx()
H A Dwpa_supplicant_i.h565 size_t kdk_len; member

Completed in 38 milliseconds