Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/common/
H A Dwpa_common.c397 const u8 *z, size_t z_len, size_t kdk_len) in wpa_pmk_to_ptk() argument
445 if (kdk_len > WPA_KDK_MAX_LEN) { in wpa_pmk_to_ptk()
448 kdk_len); in wpa_pmk_to_ptk()
455 ptk->kdk_len = kdk_len; in wpa_pmk_to_ptk()
462 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len + ptk->kdk_len; in wpa_pmk_to_ptk()
576 if (kdk_len) { in wpa_pmk_to_ptk()
578 ptk->tk_len, ptk->kdk_len); in wpa_pmk_to_ptk()
579 wpa_hexdump_key(MSG_DEBUG, "WPA: KDK", ptk->kdk, ptk->kdk_len); in wpa_pmk_to_ptk()
670 u8 *fils_ft, size_t *fils_ft_len, size_t kdk_len) in fils_pmk_to_ptk() argument
721 if (kdk_len) { in fils_pmk_to_ptk()
[all …]
H A Dwpa_common.h269 size_t kdk_len; member
467 const u8 *z, size_t z_len, size_t kdk_len);
477 u8 *fils_ft, size_t *fils_ft_len, size_t kdk_len);
511 size_t kdk_len);
754 size_t kdk_len);
H A Dcommon_module_tests.c671 if (ptk.kdk_len != sizeof(kdk) || in pasn_test_pasn_auth()
756 if (ptk.kdk_len != sizeof(kdk) || in pasn_test_no_pasn_auth()
H A Dptksa_cache.c209 e->ptk.kdk_len); in ptksa_cache_list()
/freebsd/contrib/wpa/src/pasn/
H A Dpasn_common.c58 pasn->kdk_len = WPA_KDK_MAX_LEN; in pasn_enable_kdk_derivation()
67 pasn->kdk_len = 0; in pasn_disable_kdk_derivation()
H A Dpasn_responder.c352 pasn->cipher, pasn->kdk_len); in pasn_derive_keys()
666 pasn->kdk_len = WPA_KDK_MAX_LEN; in handle_auth_pasn_1()
668 pasn->kdk_len = 0; in handle_auth_pasn_1()
670 wpa_printf(MSG_DEBUG, "PASN: kdk_len=%zu", pasn->kdk_len); in handle_auth_pasn_1()
H A Dpasn_common.h45 size_t kdk_len; member
H A Dpasn_initiator.c1236 pasn->kdk_len); in wpa_pasn_auth_rx()
/freebsd/contrib/wpa/src/rsn_supp/
H A Dwpa_ft.c44 size_t mpmk_len, kdk_len; in wpa_derive_ptk_ft() local
79 kdk_len = WPA_KDK_MAX_LEN; in wpa_derive_ptk_ft()
81 kdk_len = 0; in wpa_derive_ptk_ft()
86 sm->pairwise_cipher, kdk_len); in wpa_derive_ptk_ft()
596 size_t kck_len, kdk_len; in wpa_ft_process_response() local
706 kdk_len = WPA_KDK_MAX_LEN; in wpa_ft_process_response()
708 kdk_len = 0; in wpa_ft_process_response()
715 kdk_len) < 0) in wpa_ft_process_response()
H A Dwpa.c688 size_t z_len = 0, kdk_len; in wpa_derive_ptk() local
716 kdk_len = WPA_KDK_MAX_LEN; in wpa_derive_ptk()
718 kdk_len = 0; in wpa_derive_ptk()
724 kdk_len); in wpa_derive_ptk()
5569 size_t g_ap_len = 0, kdk_len; in fils_process_auth() local
5803 kdk_len = WPA_KDK_MAX_LEN; in fils_process_auth()
5805 kdk_len = 0; in fils_process_auth()
5815 kdk_len) < 0) { in fils_process_auth()
/freebsd/contrib/wpa/src/ap/
H A Dwpa_auth_i.h336 size_t *key_len, size_t kdk_len);
H A Dwpa_auth.c2866 size_t z_len = 0, kdk_len; local
2873 kdk_len = WPA_KDK_MAX_LEN;
2875 kdk_len = 0;
2888 sm->pairwise, kdk_len);
2892 kdk_len);
2928 sm->pairwise, z, z_len, kdk_len);
2960 size_t fils_ft_len = 0, kdk_len; local
2965 kdk_len = WPA_KDK_MAX_LEN;
2967 kdk_len = 0;
2974 fils_ft, &fils_ft_len, kdk_len);
H A Dwpa_auth_ft.c2117 size_t *key_len, size_t kdk_len) in wpa_auth_derive_ptk_ft() argument
2164 kdk_len); in wpa_auth_derive_ptk_ft()
3184 size_t pmk_r1_len, kdk_len, len; in wpa_ft_process_auth_req() local
3368 kdk_len = WPA_KDK_MAX_LEN; in wpa_ft_process_auth_req()
3370 kdk_len = 0; in wpa_ft_process_auth_req()
3375 pairwise, kdk_len) < 0) in wpa_ft_process_auth_req()
H A Dieee802_11.c2463 pasn_get_cipher(sta->pasn), sta->pasn->kdk_len); in pasn_fils_auth_resp()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dpasn_supplicant.c567 wpa_printf(MSG_DEBUG, "PASN: kdk_len=%zu", pasn->kdk_len); in wpas_pasn_auth_start_cb()