/kernel/linux/linux-5.10/net/wireless/ |
H A D | lib80211_crypt_ccmp.c | 43 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, i in lib80211_ccmp_encrypt() [all...] |
/kernel/linux/linux-6.6/net/wireless/ |
H A D | lib80211_crypt_ccmp.c | 43 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, i in lib80211_ccmp_encrypt() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_ccmp.c | 39 u8 tx_pn[CCMP_PN_LEN]; member 179 key->tx_pn[i]++; in ieee80211_ccmp_encrypt() 180 if (key->tx_pn[i] != 0) in ieee80211_ccmp_encrypt() 185 *pos++ = key->tx_pn[5]; in ieee80211_ccmp_encrypt() 186 *pos++ = key->tx_pn[4]; in ieee80211_ccmp_encrypt() 189 *pos++ = key->tx_pn[3]; in ieee80211_ccmp_encrypt() 190 *pos++ = key->tx_pn[2]; in ieee80211_ccmp_encrypt() 191 *pos++ = key->tx_pn[1]; in ieee80211_ccmp_encrypt() 192 *pos++ = key->tx_pn[0]; in ieee80211_ccmp_encrypt() 207 aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, i in ieee80211_ccmp_encrypt() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_ccmp.c | 34 u8 tx_pn[CCMP_PN_LEN]; member 172 key->tx_pn[i]++; in rtllib_ccmp_encrypt() 173 if (key->tx_pn[i] != 0) in rtllib_ccmp_encrypt() 178 *pos++ = key->tx_pn[5]; in rtllib_ccmp_encrypt() 179 *pos++ = key->tx_pn[4]; in rtllib_ccmp_encrypt() 182 *pos++ = key->tx_pn[3]; in rtllib_ccmp_encrypt() 183 *pos++ = key->tx_pn[2]; in rtllib_ccmp_encrypt() 184 *pos++ = key->tx_pn[1]; in rtllib_ccmp_encrypt() 185 *pos++ = key->tx_pn[0]; in rtllib_ccmp_encrypt() 200 aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, i in rtllib_ccmp_encrypt() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_ccmp.c | 39 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, i in ieee80211_ccmp_encrypt() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_ccmp.c | 34 u8 tx_pn[CCMP_PN_LEN]; member 170 key->tx_pn[i]++; in rtllib_ccmp_encrypt() 171 if (key->tx_pn[i] != 0) in rtllib_ccmp_encrypt() 176 *pos++ = key->tx_pn[5]; in rtllib_ccmp_encrypt() 177 *pos++ = key->tx_pn[4]; in rtllib_ccmp_encrypt() 180 *pos++ = key->tx_pn[3]; in rtllib_ccmp_encrypt() 181 *pos++ = key->tx_pn[2]; in rtllib_ccmp_encrypt() 182 *pos++ = key->tx_pn[1]; in rtllib_ccmp_encrypt() 183 *pos++ = key->tx_pn[0]; in rtllib_ccmp_encrypt() 198 aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, i in rtllib_ccmp_encrypt() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | location.h | 774 * @tx_pn: the next PN to use for protected management frames Tx. LE byte 795 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member 831 * @tx_pn: the next PN to use for protected management frames Tx. LE byte 864 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member 907 * @tx_pn: the next PN to use for protected management frames Tx. LE byte 945 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member 1483 * @tx_pn: the last PN used for this responder Tx in case PMF is configured in 1509 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | ftm-initiator.c | 92 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member 737 memcpy(target->tx_pn, entry->tx_pn, sizeof(target->tx_pn)); in iwl_mvm_ftm_set_secured_ranging() 1033 memcpy(entry->tx_pn, fw_ap->tx_pn, sizeof(entry->tx_pn)); in iwl_mvm_ftm_pasn_update_pn()
|
H A D | d3.c | 265 pn64 = atomic64_read(&key->tx_pn); in iwl_mvm_wowlan_program_keys() 326 pn64 = atomic64_read(&key->tx_pn); in iwl_mvm_wowlan_program_keys() 1496 atomic64_set(&key->tx_pn, le64_to_cpu(sc->aes.tsc.pn)); in iwl_mvm_d3_update_keys() 1501 atomic64_set(&key->tx_pn, in iwl_mvm_d3_update_keys()
|
H A D | tx.c | 422 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_pn() 455 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_crypto()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | ftm-initiator.c | 38 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member 742 memcpy(target->tx_pn, entry->tx_pn, sizeof(target->tx_pn)); in iwl_mvm_ftm_set_secured_ranging() 1167 memcpy(entry->tx_pn, fw_ap->tx_pn, sizeof(entry->tx_pn)); in iwl_mvm_ftm_pasn_update_pn()
|
H A D | d3.c | 244 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() 1434 u64 tx_pn; member 1669 status->ptk.tkip.tx_pn = (u64)le16_to_cpu(sc->tkip.tsc.iv16) | in iwl_mvm_convert_key_counters() 1671 status->ptk.aes.tx_pn = le64_to_cpu(sc->aes.tsc.pn); in iwl_mvm_convert_key_counters() 1871 atomic64_set(&key->tx_pn, status->ptk.aes.tx_pn); in iwl_mvm_d3_update_keys() 1878 atomic64_set(&key->tx_pn, status->ptk.tkip.tx_pn); in iwl_mvm_d3_update_keys() [all...] |
H A D | mld-key.c | 190 .u.add.tx_seq = cpu_to_le64(atomic64_read(&keyconf->tx_pn)), in iwl_mvm_mld_send_key()
|
H A D | tx.c | 435 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_pn() 468 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_crypto()
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | debugfs_key.c | 111 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()
|
H A D | wpa.c | 233 pn = atomic64_inc_return(&key->conf.tx_pn); in tkip_encrypt_skb() 455 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ccmp_encrypt_skb() 692 pn64 = atomic64_inc_return(&key->conf.tx_pn); in gcmp_encrypt_skb() 973 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ieee80211_crypto_aes_cmac_encrypt() 1020 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ieee80211_crypto_aes_cmac_256_encrypt() 1165 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ieee80211_crypto_aes_gmac_encrypt()
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | debugfs_key.c | 111 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()
|
H A D | wpa.c | 233 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | location.h | 685 * @tx_pn: the next PN to use for protected management frames Tx. LE byte 706 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member 1181 * @tx_pn: the last PN used for this responder Tx in case PMF is configured in 1207 u8 tx_pn[IEEE80211_CCMP_PN_LEN]; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_mac.c | 103 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_mac.c | 103 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | lib.c | 918 pn64 = atomic64_read(&key->tx_pn); in iwlagn_wowlan_program_keys() 971 pn64 = atomic64_read(&key->tx_pn); in iwlagn_wowlan_program_keys()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | lib.c | 913 pn64 = atomic64_read(&key->tx_pn); in iwlagn_wowlan_program_keys() 966 pn64 = atomic64_read(&key->tx_pn); in iwlagn_wowlan_program_keys()
|
/kernel/linux/linux-5.10/drivers/staging/vt6656/ |
H A D | rxtx.c | 343 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()
|
/kernel/linux/linux-6.6/drivers/staging/vt6656/ |
H A D | rxtx.c | 339 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()
|