| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_crypto_tkip.c | 374 u32 iv32; in libipw_tkip_decrypt() local 411 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in libipw_tkip_decrypt() 414 if (tkip_replay_check(iv32, iv16, tkey->rx_iv32, tkey->rx_iv16)) { in libipw_tkip_decrypt() 418 iv32, iv16); in libipw_tkip_decrypt() 424 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in libipw_tkip_decrypt() 425 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in libipw_tkip_decrypt() 441 if (iv32 != tkey->rx_iv32) { in libipw_tkip_decrypt() 456 tkey->rx_iv32_new = iv32; in libipw_tkip_decrypt()
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | lib.c | 915 tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64)); in iwlagn_wowlan_program_keys() 917 ieee80211_get_tkip_p1k_iv(key, seq.tkip.iv32, p1k); in iwlagn_wowlan_program_keys() 940 tkip_sc[i].iv32 = cpu_to_le32(seq.tkip.iv32); in iwlagn_wowlan_program_keys() 942 if (seq.tkip.iv32 > cur_rx_iv32) in iwlagn_wowlan_program_keys() 943 cur_rx_iv32 = seq.tkip.iv32; in iwlagn_wowlan_program_keys()
|
| H A D | sta.c | 1136 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) in iwl_update_tkip_key() argument 1150 iv32, phase1key, CMD_ASYNC); in iwl_update_tkip_key() 1232 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in iwl_set_dynamic_key() 1234 seq.tkip.iv32, p1k, 0); in iwl_set_dynamic_key()
|
| H A D | agn.h | 308 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key);
|
| H A D | commands.h | 3756 __le32 iv32; member
|
| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | key.c | 78 memcpy(msg->rx_sequence_counter + sizeof(u16), &seq->tkip.iv32, sizeof(seq->tkip.iv32)); in fill_tkip_group()
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965.h | 126 struct ieee80211_sta *sta, u32 iv32, 164 struct ieee80211_sta *sta, u32 iv32,
|
| H A D | 4965-mac.c | 3375 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) in il4965_update_tkip_key() argument 3393 il->stations[sta_id].sta.key.tkip_rx_tsc_byte2 = (u8) iv32; in il4965_update_tkip_key() 5872 struct ieee80211_sta *sta, u32 iv32, u16 * phase1key) in il4965_mac_update_tkip_key() argument 5878 il4965_update_tkip_key(il, keyconf, sta, iv32, phase1key); in il4965_mac_update_tkip_key()
|
| /linux/net/mac80211/ |
| H A D | key.h | 54 u32 iv32; /* current iv32 */ member
|
| H A D | key.c | 631 key->u.tkip.rx[i].iv32 = in ieee80211_key_alloc() 1266 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in ieee80211_get_key_rx_seq() 1319 key->u.tkip.rx[tid].iv32 = seq->tkip.iv32; in ieee80211_set_key_rx_seq()
|
| H A D | trace.h | 694 struct ieee80211_sta *sta, u32 iv32), 696 TP_ARGS(local, sdata, conf, sta, iv32), 702 __field(u32, iv32) 709 __entry->iv32 = iv32; 713 LOCAL_PR_FMT VIF_PR_FMT STA_PR_FMT " iv32:%#x", 714 LOCAL_PR_ARG, VIF_PR_ARG, STA_PR_ARG, __entry->iv32
|
| H A D | cfg.c | 831 u32 iv32; in ieee80211_get_key() local 851 iv32 = TKIP_PN_TO_IV32(pn64); in ieee80211_get_key() 857 iv32 = kseq.tkip.iv32; in ieee80211_get_key() 863 seq[2] = iv32 & 0xff; in ieee80211_get_key() 864 seq[3] = (iv32 >> 8) & 0xff; in ieee80211_get_key() 865 seq[4] = (iv32 >> 16) & 0xff; in ieee80211_get_key() 866 seq[5] = (iv32 >> 24) & 0xff; in ieee80211_get_key()
|
| H A D | driver-ops.h | 252 struct sta_info *sta, u32 iv32, in drv_update_tkip_key() argument 264 trace_drv_update_tkip_key(local, sdata, conf, ista, iv32); in drv_update_tkip_key() 267 ista, iv32, phase1key); in drv_update_tkip_key()
|
| H A D | ieee80211_i.h | 252 u32 iv32; member
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | d3.c | 245 tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64)); in iwl_mvm_wowlan_get_rsc_tsc_data() 259 tkip_sc[i].iv32 = cpu_to_le32(seq.tkip.iv32); in iwl_mvm_wowlan_get_rsc_tsc_data() 395 rsc[i] = cpu_to_le64(((u64)seq.tkip.iv32 << 16) | in iwl_mvm_wowlan_get_rsc_v5_data() 557 if (seq.tkip.iv32 > cur_rx_iv32) in iwl_mvm_wowlan_get_tkip_data() 558 cur_rx_iv32 = seq.tkip.iv32; in iwl_mvm_wowlan_get_tkip_data() 1606 seq->tkip.iv32 = (u32)(pn >> 16); in iwl_mvm_le64_to_tkip_seq() 1612 seq->tkip.iv32 = le32_to_cpu(sc->iv32); in iwl_mvm_tkip_sc_to_seq() 1678 ((u64)le32_to_cpu(sc->tkip.tsc.iv32) << 16); in iwl_mvm_convert_key_counters()
|
| H A D | sta.c | 3638 rx_pn[2 + hole] = seq.tkip.iv32; in iwl_mvm_send_sta_key() 3639 rx_pn[3 + hole] = seq.tkip.iv32 >> 8; in iwl_mvm_send_sta_key() 3640 rx_pn[4 + hole] = seq.tkip.iv32 >> 16; in iwl_mvm_send_sta_key() 3641 rx_pn[5 + hole] = seq.tkip.iv32 >> 24; in iwl_mvm_send_sta_key() 3830 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in __iwl_mvm_set_sta_key() 3833 seq.tkip.iv32, p1k, 0, key_offset, in __iwl_mvm_set_sta_key() 4004 struct ieee80211_sta *sta, u32 iv32, in iwl_mvm_update_tkip_key() argument 4017 iv32, phase1key, CMD_ASYNC, keyconf->hw_key_idx, in iwl_mvm_update_tkip_key()
|
| H A D | mac80211.c | 4473 u32 iv32, u16 *phase1key) in iwl_mvm_mac_update_tkip_key() argument 4480 iwl_mvm_update_tkip_key(mvm, vif, keyconf, sta, iv32, phase1key); in iwl_mvm_mac_update_tkip_key()
|
| /linux/include/net/ |
| H A D | mac80211.h | 2320 u32 iv32; member 4617 u32 iv32, u16 *phase1key); 5987 u32 iv32, u16 *p1k); 6005 u32 iv32 = get_unaligned_le32(&data[4]); in ieee80211_get_tkip_p1k() local 6007 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k); in ieee80211_get_tkip_p1k() 6022 const u8 *ta, u32 iv32, u16 *p1k);
|
| /linux/drivers/net/wireless/st/cw1200/ |
| H A D | sta.c | 757 wsm_key->tkip_group.rx_seqnum[2] = seq.tkip.iv32 & 0xff; in cw1200_set_key() 758 wsm_key->tkip_group.rx_seqnum[3] = (seq.tkip.iv32 >> 8) & 0xff; in cw1200_set_key() 759 wsm_key->tkip_group.rx_seqnum[4] = (seq.tkip.iv32 >> 16) & 0xff; in cw1200_set_key() 760 wsm_key->tkip_group.rx_seqnum[5] = (seq.tkip.iv32 >> 24) & 0xff; in cw1200_set_key()
|
| /linux/drivers/crypto/stm32/ |
| H A D | stm32-cryp.c | 1848 u32 iv32[AES_BLOCK_32]; in stm32_cryp_read_auth_tag() local 1849 u8 *iv = (u8 *)iv32; in stm32_cryp_read_auth_tag() 1850 __be32 *biv = (__be32 *)iv32; in stm32_cryp_read_auth_tag() 1856 u32 xiv = iv32[i]; in stm32_cryp_read_auth_tag()
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | wow.c | 104 pn = u64_encode_bits(seq.tkip.iv32, RTW89_KEY_TKIP_PN_IV32) | in rtw89_rx_pn_to_iv() 195 seq.tkip.iv32 = u64_get_bits(pn, RTW89_KEY_TKIP_PN_IV32); in rtw89_rx_iv_to_pn()
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | main.c | 898 static void rx_tkip_phase1_write(struct b43_wldev *dev, u8 index, u32 iv32, in rx_tkip_phase1_write() argument 922 index, iv32); in rx_tkip_phase1_write() 930 b43_shm_write16(dev, B43_SHM_SHARED, offset + i, iv32); in rx_tkip_phase1_write() 931 b43_shm_write16(dev, B43_SHM_SHARED, offset + i + 2, iv32 >> 16); in rx_tkip_phase1_write() 938 u32 iv32, u16 *phase1key) in b43_op_update_tkip_key() argument 955 rx_tkip_phase1_write(dev, index, iv32, phase1key); in b43_op_update_tkip_key()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | d3.c | 242 seq->tkip.iv32 = (u32)(pn >> 16); in iwl_mld_le64_to_tkip_seq() 1527 cpu_to_le64(((u64)seq.tkip.iv32 << 16) | in iwl_mld_suspend_convert_tkip_ipn()
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2800lib.c | 12131 memcpy(&seq->tkip.iv32, &iveiv_entry.iv[4], 4); in rt2800_get_key_seq()
|