Home
last modified time | relevance | path

Searched refs:tk_len (Results 1 – 14 of 14) sorted by relevance

/freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/
H A Dftm-responder.c313 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_respoder_add_pasn_sta() argument
335 if ((!hltk || !hltk_len) && (!tk || !tk_len)) { in iwl_mvm_ftm_respoder_add_pasn_sta()
350 if (tk && tk_len) { in iwl_mvm_ftm_respoder_add_pasn_sta()
356 cipher, tk, tk_len); in iwl_mvm_ftm_respoder_add_pasn_sta()
H A Dftm-initiator.c44 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_add_pasn_sta() argument
96 if (tk_len != expected_tk_len || in iwl_mvm_ftm_add_pasn_sta()
99 tk_len, hltk_len); in iwl_mvm_ftm_add_pasn_sta()
115 if (tk && tk_len) in iwl_mvm_ftm_add_pasn_sta()
H A Dmvm.h2294 u8 *addr, u32 cipher, u8 *tk, u32 tk_len,
2312 u8 *addr, u32 cipher, u8 *tk, u32 tk_len,
/freebsd-14.2/contrib/wpa/src/common/
H A Dwpa_common.c454 ptk->tk_len = wpa_cipher_key_len(cipher); in wpa_pmk_to_ptk()
456 if (ptk->tk_len == 0) { in wpa_pmk_to_ptk()
578 ptk->tk_len, ptk->kdk_len); in wpa_pmk_to_ptk()
712 ptk->tk_len = wpa_cipher_key_len(cipher); in fils_pmk_to_ptk()
775 os_memcpy(ptk->tk, tmp + offset, ptk->tk_len); in fils_pmk_to_ptk()
777 offset += ptk->tk_len; in fils_pmk_to_ptk()
1500 ptk->tk_len = wpa_cipher_key_len(cipher); in pasn_pmk_to_ptk()
1506 if (ptk->tk_len == 0) { in pasn_pmk_to_ptk()
2475 ptk->tk_len = wpa_cipher_key_len(cipher); in wpa_pmk_r1_to_ptk()
2545 os_memcpy(ptk->tk, tmp + offset, ptk->tk_len); in wpa_pmk_r1_to_ptk()
[all …]
H A Dcommon_module_tests.c665 if (ptk.tk_len != sizeof(tk) || in pasn_test_pasn_auth()
750 if (ptk.tk_len != sizeof(tk) || in pasn_test_no_pasn_auth()
H A Dptksa_cache.c198 e->ptk.tk_len); in ptksa_cache_list()
H A Dwpa_common.h266 size_t tk_len; member
/freebsd-14.2/contrib/wpa/wpa_supplicant/
H A Ddriver_i.h1142 u32 cipher, u8 tk_len, in wpa_drv_set_secure_ranging_ctx() argument
1160 params.tk_len = tk_len; in wpa_drv_set_secure_ranging_ctx()
H A Dpasn_supplicant.c334 entry->ptk.tk_len, in wpas_pasn_set_keys_from_cache()
/freebsd-14.2/contrib/wpa/src/ap/
H A Dap_drv_ops.c1231 u32 cipher, u8 tk_len, const u8 *tk, in hostapd_drv_set_secure_ranging_ctx() argument
1244 params.tk_len = tk_len; in hostapd_drv_set_secure_ranging_ctx()
H A Dieee802_11.c2699 entry->ptk.tk_len, entry->ptk.tk, in pasn_set_keys_from_cache()
/freebsd-14.2/contrib/wpa/src/rsn_supp/
H A Dwpa.c1217 if (keylen <= 0 || (unsigned int) keylen != sm->ptk.tk_len) { in wpa_supplicant_install_ptk()
1219 keylen, (long unsigned int) sm->ptk.tk_len); in wpa_supplicant_install_ptk()
1261 sm->ptk.tk_len = 0; in wpa_supplicant_install_ptk()
6373 if (keylen <= 0 || (unsigned int) keylen != sm->ptk.tk_len) { in fils_process_assoc_resp()
6375 keylen, (long unsigned int) sm->ptk.tk_len); in fils_process_assoc_resp()
6399 sm->ptk.tk_len = 0; in fils_process_assoc_resp()
/freebsd-14.2/contrib/wpa/src/drivers/
H A Ddriver.h3000 u8 tk_len; member
H A Ddriver_nl80211.c13395 if (params->tk_len && params->tk) { in nl80211_set_secure_ranging_ctx()
13397 params->tk_len, params->tk)) in nl80211_set_secure_ranging_ctx()
13400 params->tk, params->tk_len); in nl80211_set_secure_ranging_ctx()