Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/staging/rtl8192e/
Drtllib_crypt_ccmp.c34 u8 tx_pn[CCMP_PN_LEN]; member
169 key->tx_pn[i]++; in rtllib_ccmp_encrypt()
170 if (key->tx_pn[i] != 0) in rtllib_ccmp_encrypt()
175 *pos++ = key->tx_pn[5]; in rtllib_ccmp_encrypt()
176 *pos++ = key->tx_pn[4]; in rtllib_ccmp_encrypt()
179 *pos++ = key->tx_pn[3]; in rtllib_ccmp_encrypt()
180 *pos++ = key->tx_pn[2]; in rtllib_ccmp_encrypt()
181 *pos++ = key->tx_pn[1]; in rtllib_ccmp_encrypt()
182 *pos++ = key->tx_pn[0]; in rtllib_ccmp_encrypt()
197 aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, iv, aad); in rtllib_ccmp_encrypt()
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c38 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
743 u8 *rx_pn, u8 *tx_pn, __le32 *flags) in iwl_mvm_ftm_set_secured_ranging() argument
782 memcpy(tx_pn, entry->tx_pn, sizeof(entry->tx_pn)); in iwl_mvm_ftm_set_secured_ranging()
801 target->tx_pn, in iwl_mvm_ftm_put_target_v7()
974 target->tx_pn, in iwl_mvm_ftm_put_target_v10()
1313 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()
548 pn64 = atomic64_read(&key->tx_pn); in iwl_mvm_wowlan_get_tkip_data()
1461 u64 tx_pn; member
1704 status->ptk.tkip.tx_pn = (u64)le16_to_cpu(sc->tkip.tsc.iv16) | in iwl_mvm_convert_key_counters()
1706 status->ptk.aes.tx_pn = le64_to_cpu(sc->aes.tsc.pn); in iwl_mvm_convert_key_counters()
1938 atomic64_set(&key->tx_pn, status->ptk.aes.tx_pn); in iwl_mvm_d3_update_keys()
1945 atomic64_set(&key->tx_pn, status->ptk.tkip.tx_pn); in iwl_mvm_d3_update_keys()
Dmld-key.c193 .u.add.tx_seq = cpu_to_le64(atomic64_read(&keyconf->tx_pn)), in iwl_mvm_mld_send_key()
Dtx.c455 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_pn()
488 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_crypto()
Dsta.c3594 pn = atomic64_read(&key->tx_pn); in iwl_mvm_send_sta_key()
3608 pn = atomic64_read(&key->tx_pn); in iwl_mvm_send_sta_key()
3624 pn = atomic64_read(&key->tx_pn); in iwl_mvm_send_sta_key()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dlocation.h852 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
922 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
1003 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
1079 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
1667 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
/linux-6.12.1/net/mac80211/
Dwpa.c233 pn = atomic64_inc_return(&key->conf.tx_pn); in tkip_encrypt_skb()
474 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ccmp_encrypt_skb()
678 pn64 = atomic64_inc_return(&key->conf.tx_pn); in gcmp_encrypt_skb()
863 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ieee80211_crypto_aes_cmac_encrypt()
911 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ieee80211_crypto_aes_cmac_256_encrypt()
1060 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ieee80211_crypto_aes_gmac_encrypt()
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()
Dcfg.c681 pn64 = atomic64_read(&key->conf.tx_pn); in ieee80211_get_key()
723 pn64 = atomic64_read(&key->conf.tx_pn); in ieee80211_get_key()
Dtx.c3599 pn = atomic64_inc_return(&key->conf.tx_pn); in ieee80211_xmit_fast_finish()
/linux-6.12.1/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.12.1/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.12.1/drivers/net/wireless/realtek/rtw89/
Dwow.c127 pn = atomic64_inc_return(&key->tx_pn); in rtw89_tx_pn_to_iv()
206 atomic64_set(&key->tx_pn, pn); in rtw89_tx_iv_to_pn()
Dcore.c557 pn64 = atomic64_inc_return(&key->tx_pn); in rtw89_core_tx_update_sec_key()
/linux-6.12.1/drivers/staging/vt6656/
Drxtx.c339 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()
/linux-6.12.1/drivers/staging/vt6655/
Drxtx.c1186 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c1035 u64 pn = atomic64_inc_return(&key->tx_pn); in mt7603_mac_write_txwi()
/linux-6.12.1/include/net/
Dmac80211.h2217 atomic64_t tx_pn; member