Searched refs:pn64 (Results 1 – 6 of 6) sorted by relevance
415 u64 pn64; in ccmp_encrypt_skb() local455 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ccmp_encrypt_skb()457 pn[5] = pn64; in ccmp_encrypt_skb()458 pn[4] = pn64 >> 8; in ccmp_encrypt_skb()459 pn[3] = pn64 >> 16; in ccmp_encrypt_skb()460 pn[2] = pn64 >> 24; in ccmp_encrypt_skb()461 pn[1] = pn64 >> 32; in ccmp_encrypt_skb()462 pn[0] = pn64 >> 40; in ccmp_encrypt_skb()651 u64 pn64; in gcmp_encrypt_skb() local692 pn64 = atomic64_inc_return(&key->conf.tx_pn); in gcmp_encrypt_skb()[all …]
571 u64 pn64; in ieee80211_get_key() local604 pn64 = atomic64_read(&key->conf.tx_pn); in ieee80211_get_key()605 iv32 = TKIP_PN_TO_IV32(pn64); in ieee80211_get_key()606 iv16 = TKIP_PN_TO_IV16(pn64); in ieee80211_get_key()646 pn64 = atomic64_read(&key->conf.tx_pn); in ieee80211_get_key()647 seq[0] = pn64; in ieee80211_get_key()648 seq[1] = pn64 >> 8; in ieee80211_get_key()649 seq[2] = pn64 >> 16; in ieee80211_get_key()650 seq[3] = pn64 >> 24; in ieee80211_get_key()651 seq[4] = pn64 >> 32; in ieee80211_get_key()[all …]
302 u64 pn64; in vnt_fill_txkey() local343 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()344 mic_hdr->ccmp_pn[5] = pn64; in vnt_fill_txkey()345 mic_hdr->ccmp_pn[4] = pn64 >> 8; in vnt_fill_txkey()346 mic_hdr->ccmp_pn[3] = pn64 >> 16; in vnt_fill_txkey()347 mic_hdr->ccmp_pn[2] = pn64 >> 24; in vnt_fill_txkey()348 mic_hdr->ccmp_pn[1] = pn64 >> 32; in vnt_fill_txkey()349 mic_hdr->ccmp_pn[0] = pn64 >> 40; in vnt_fill_txkey()
911 u64 pn64; in iwlagn_wowlan_program_keys() local918 pn64 = atomic64_read(&key->tx_pn); in iwlagn_wowlan_program_keys()919 tkip_tx_sc->iv16 = cpu_to_le16(TKIP_PN_TO_IV16(pn64)); in iwlagn_wowlan_program_keys()920 tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64)); in iwlagn_wowlan_program_keys()966 u64 pn64; in iwlagn_wowlan_program_keys() local971 pn64 = atomic64_read(&key->tx_pn); in iwlagn_wowlan_program_keys()972 aes_tx_sc->pn = cpu_to_le64(pn64); in iwlagn_wowlan_program_keys()
1151 u64 pn64; in vnt_fill_txkey() local1184 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()1185 mic_hdr->ccmp_pn[5] = pn64; in vnt_fill_txkey()1186 mic_hdr->ccmp_pn[4] = pn64 >> 8; in vnt_fill_txkey()1187 mic_hdr->ccmp_pn[3] = pn64 >> 16; in vnt_fill_txkey()1188 mic_hdr->ccmp_pn[2] = pn64 >> 24; in vnt_fill_txkey()1189 mic_hdr->ccmp_pn[1] = pn64 >> 32; in vnt_fill_txkey()1190 mic_hdr->ccmp_pn[0] = pn64 >> 40; in vnt_fill_txkey()
256 u64 pn64; in iwl_mvm_wowlan_program_keys() local265 pn64 = atomic64_read(&key->tx_pn); in iwl_mvm_wowlan_program_keys()266 tkip_tx_sc->iv16 = cpu_to_le16(TKIP_PN_TO_IV16(pn64)); in iwl_mvm_wowlan_program_keys()267 tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64)); in iwl_mvm_wowlan_program_keys()269 ieee80211_get_tkip_p1k_iv(key, TKIP_PN_TO_IV32(pn64), in iwl_mvm_wowlan_program_keys()319 u64 pn64; in iwl_mvm_wowlan_program_keys() local326 pn64 = atomic64_read(&key->tx_pn); in iwl_mvm_wowlan_program_keys()327 aes_tx_sc->pn = cpu_to_le64(pn64); in iwl_mvm_wowlan_program_keys()