Home
last modified time | relevance | path

Searched refs:pn64 (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/net/mac80211/
Dwpa.c427 u64 pn64; in ccmp_encrypt_skb() local
466 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ccmp_encrypt_skb()
468 pn[5] = pn64; in ccmp_encrypt_skb()
469 pn[4] = pn64 >> 8; in ccmp_encrypt_skb()
470 pn[3] = pn64 >> 16; in ccmp_encrypt_skb()
471 pn[2] = pn64 >> 24; in ccmp_encrypt_skb()
472 pn[1] = pn64 >> 32; in ccmp_encrypt_skb()
473 pn[0] = pn64 >> 40; in ccmp_encrypt_skb()
627 u64 pn64; in gcmp_encrypt_skb() local
667 pn64 = atomic64_inc_return(&key->conf.tx_pn); in gcmp_encrypt_skb()
[all …]
Dcfg.c675 u64 pn64; in ieee80211_get_key() local
695 pn64 = atomic64_read(&key->conf.tx_pn); in ieee80211_get_key()
696 iv32 = TKIP_PN_TO_IV32(pn64); in ieee80211_get_key()
697 iv16 = TKIP_PN_TO_IV16(pn64); in ieee80211_get_key()
737 pn64 = atomic64_read(&key->conf.tx_pn); in ieee80211_get_key()
738 seq[0] = pn64; in ieee80211_get_key()
739 seq[1] = pn64 >> 8; in ieee80211_get_key()
740 seq[2] = pn64 >> 16; in ieee80211_get_key()
741 seq[3] = pn64 >> 24; in ieee80211_get_key()
742 seq[4] = pn64 >> 32; in ieee80211_get_key()
[all …]
/linux-6.1.9/drivers/staging/vt6656/
Drxtx.c298 u64 pn64; in vnt_fill_txkey() local
339 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()
340 mic_hdr->ccmp_pn[5] = pn64; in vnt_fill_txkey()
341 mic_hdr->ccmp_pn[4] = pn64 >> 8; in vnt_fill_txkey()
342 mic_hdr->ccmp_pn[3] = pn64 >> 16; in vnt_fill_txkey()
343 mic_hdr->ccmp_pn[2] = pn64 >> 24; in vnt_fill_txkey()
344 mic_hdr->ccmp_pn[1] = pn64 >> 32; in vnt_fill_txkey()
345 mic_hdr->ccmp_pn[0] = pn64 >> 40; in vnt_fill_txkey()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dlib.c906 u64 pn64; in iwlagn_wowlan_program_keys() local
913 pn64 = atomic64_read(&key->tx_pn); in iwlagn_wowlan_program_keys()
914 tkip_tx_sc->iv16 = cpu_to_le16(TKIP_PN_TO_IV16(pn64)); in iwlagn_wowlan_program_keys()
915 tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64)); in iwlagn_wowlan_program_keys()
961 u64 pn64; in iwlagn_wowlan_program_keys() local
966 pn64 = atomic64_read(&key->tx_pn); in iwlagn_wowlan_program_keys()
967 aes_tx_sc->pn = cpu_to_le64(pn64); in iwlagn_wowlan_program_keys()
/linux-6.1.9/drivers/staging/vt6655/
Drxtx.c1153 u64 pn64; in vnt_fill_txkey() local
1186 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()
1187 mic_hdr->ccmp_pn[5] = pn64; in vnt_fill_txkey()
1188 mic_hdr->ccmp_pn[4] = pn64 >> 8; in vnt_fill_txkey()
1189 mic_hdr->ccmp_pn[3] = pn64 >> 16; in vnt_fill_txkey()
1190 mic_hdr->ccmp_pn[2] = pn64 >> 24; in vnt_fill_txkey()
1191 mic_hdr->ccmp_pn[1] = pn64 >> 32; in vnt_fill_txkey()
1192 mic_hdr->ccmp_pn[0] = pn64 >> 40; in vnt_fill_txkey()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c237 u64 pn64; in iwl_mvm_wowlan_get_rsc_tsc_data() local
244 pn64 = atomic64_read(&key->tx_pn); in iwl_mvm_wowlan_get_rsc_tsc_data()
245 tkip_tx_sc->iv16 = cpu_to_le16(TKIP_PN_TO_IV16(pn64)); in iwl_mvm_wowlan_get_rsc_tsc_data()
246 tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64)); in iwl_mvm_wowlan_get_rsc_tsc_data()
270 u64 pn64; in iwl_mvm_wowlan_get_rsc_tsc_data() local
277 pn64 = atomic64_read(&key->tx_pn); in iwl_mvm_wowlan_get_rsc_tsc_data()
278 aes_tx_sc->pn = cpu_to_le64(pn64); in iwl_mvm_wowlan_get_rsc_tsc_data()
545 u64 pn64; in iwl_mvm_wowlan_get_tkip_data() local
549 pn64 = atomic64_read(&key->tx_pn); in iwl_mvm_wowlan_get_tkip_data()
551 ieee80211_get_tkip_p1k_iv(key, TKIP_PN_TO_IV32(pn64), in iwl_mvm_wowlan_get_tkip_data()
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dcore.c429 u64 pn64; in rtw89_core_tx_update_sec_key() local
482 pn64 = atomic64_inc_return(&key->tx_pn); in rtw89_core_tx_update_sec_key()
483 desc_info->sec_seq[0] = pn64; in rtw89_core_tx_update_sec_key()
484 desc_info->sec_seq[1] = pn64 >> 8; in rtw89_core_tx_update_sec_key()
485 desc_info->sec_seq[2] = pn64 >> 16; in rtw89_core_tx_update_sec_key()
486 desc_info->sec_seq[3] = pn64 >> 24; in rtw89_core_tx_update_sec_key()
487 desc_info->sec_seq[4] = pn64 >> 32; in rtw89_core_tx_update_sec_key()
488 desc_info->sec_seq[5] = pn64 >> 40; in rtw89_core_tx_update_sec_key()