Home
last modified time | relevance | path

Searched refs:tx_pn (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/net/wireless/
Dlib80211_crypt_ccmp.c43 u8 tx_pn[CCMP_PN_LEN]; member
172 key->tx_pn[i]++; in lib80211_ccmp_hdr()
173 if (key->tx_pn[i] != 0) in lib80211_ccmp_hdr()
178 *pos++ = key->tx_pn[5]; in lib80211_ccmp_hdr()
179 *pos++ = key->tx_pn[4]; in lib80211_ccmp_hdr()
182 *pos++ = key->tx_pn[3]; in lib80211_ccmp_hdr()
183 *pos++ = key->tx_pn[2]; in lib80211_ccmp_hdr()
184 *pos++ = key->tx_pn[1]; in lib80211_ccmp_hdr()
185 *pos++ = key->tx_pn[0]; in lib80211_ccmp_hdr()
214 aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, iv, aad); in lib80211_ccmp_encrypt()
[all …]
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_crypt_ccmp.c34 u8 tx_pn[CCMP_PN_LEN]; member
174 key->tx_pn[i]++; in rtllib_ccmp_encrypt()
175 if (key->tx_pn[i] != 0) in rtllib_ccmp_encrypt()
180 *pos++ = key->tx_pn[5]; in rtllib_ccmp_encrypt()
181 *pos++ = key->tx_pn[4]; in rtllib_ccmp_encrypt()
184 *pos++ = key->tx_pn[3]; in rtllib_ccmp_encrypt()
185 *pos++ = key->tx_pn[2]; in rtllib_ccmp_encrypt()
186 *pos++ = key->tx_pn[1]; in rtllib_ccmp_encrypt()
187 *pos++ = key->tx_pn[0]; in rtllib_ccmp_encrypt()
202 aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, iv, aad); in rtllib_ccmp_encrypt()
[all …]
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_ccmp.c39 u8 tx_pn[CCMP_PN_LEN]; member
181 key->tx_pn[i]++; in ieee80211_ccmp_encrypt()
182 if (key->tx_pn[i] != 0) in ieee80211_ccmp_encrypt()
187 *pos++ = key->tx_pn[5]; in ieee80211_ccmp_encrypt()
188 *pos++ = key->tx_pn[4]; in ieee80211_ccmp_encrypt()
191 *pos++ = key->tx_pn[3]; in ieee80211_ccmp_encrypt()
192 *pos++ = key->tx_pn[2]; in ieee80211_ccmp_encrypt()
193 *pos++ = key->tx_pn[1]; in ieee80211_ccmp_encrypt()
194 *pos++ = key->tx_pn[0]; in ieee80211_ccmp_encrypt()
209 aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, iv, aad); in ieee80211_ccmp_encrypt()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/
Dlocation.h789 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
858 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
939 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
1503 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c34 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
704 memcpy(target->tx_pn, entry->tx_pn, sizeof(target->tx_pn)); in iwl_mvm_ftm_set_secured_ranging()
1131 memcpy(entry->tx_pn, fw_ap->tx_pn, sizeof(entry->tx_pn)); in iwl_mvm_ftm_pasn_update_pn()
Dd3.c244 pn64 = atomic64_read(&key->tx_pn); in iwl_mvm_wowlan_get_rsc_tsc_data()
277 pn64 = atomic64_read(&key->tx_pn); in iwl_mvm_wowlan_get_rsc_tsc_data()
549 pn64 = atomic64_read(&key->tx_pn); in iwl_mvm_wowlan_get_tkip_data()
1419 u64 tx_pn; member
1659 status->ptk.tkip.tx_pn = (u64)le16_to_cpu(sc->tkip.tsc.iv16) | in iwl_mvm_convert_key_counters()
1661 status->ptk.aes.tx_pn = le64_to_cpu(sc->aes.tsc.pn); in iwl_mvm_convert_key_counters()
1821 atomic64_set(&key->tx_pn, status->ptk.aes.tx_pn); in iwl_mvm_d3_update_keys()
1825 atomic64_set(&key->tx_pn, status->ptk.tkip.tx_pn); in iwl_mvm_d3_update_keys()
Dtx.c423 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_pn()
456 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_crypto()
Dsta.c3409 pn = atomic64_read(&key->tx_pn); in iwl_mvm_send_sta_key()
3423 pn = atomic64_read(&key->tx_pn); in iwl_mvm_send_sta_key()
3439 pn = atomic64_read(&key->tx_pn); in iwl_mvm_send_sta_key()
/linux-6.1.9/net/mac80211/
Ddebugfs_key.c111 atomic64_set(&key->conf.tx_pn, pn); in key_tx_spec_write()
132 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read()
145 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read()
Dwpa.c233 pn = atomic64_inc_return(&key->conf.tx_pn); in tkip_encrypt_skb()
466 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ccmp_encrypt_skb()
667 pn64 = atomic64_inc_return(&key->conf.tx_pn); in gcmp_encrypt_skb()
850 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ieee80211_crypto_aes_cmac_encrypt()
897 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ieee80211_crypto_aes_cmac_256_encrypt()
1042 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ieee80211_crypto_aes_gmac_encrypt()
Dcfg.c695 pn64 = atomic64_read(&key->conf.tx_pn); in ieee80211_get_key()
737 pn64 = atomic64_read(&key->conf.tx_pn); in ieee80211_get_key()
Dtx.c3574 pn = atomic64_inc_return(&key->conf.tx_pn); in ieee80211_xmit_fast_finish()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mac.c103 atomic64_set(&key->tx_pn, pn); in mt76x02_mac_wcid_sync_pn()
126 pn = atomic64_read(&key->tx_pn); in mt76x02_mac_wcid_set_key()
367 u64 pn = atomic64_inc_return(&key->tx_pn); in mt76x02_mac_write_txwi()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dlib.c913 pn64 = atomic64_read(&key->tx_pn); in iwlagn_wowlan_program_keys()
966 pn64 = atomic64_read(&key->tx_pn); in iwlagn_wowlan_program_keys()
/linux-6.1.9/drivers/staging/vt6656/
Drxtx.c339 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()
/linux-6.1.9/drivers/staging/vt6655/
Drxtx.c1186 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c1024 u64 pn = atomic64_inc_return(&key->tx_pn); in mt7603_mac_write_txwi()
/linux-6.1.9/include/net/
Dmac80211.h1998 atomic64_t tx_pn; member
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dcore.c482 pn64 = atomic64_inc_return(&key->tx_pn); in rtw89_core_tx_update_sec_key()