Home
last modified time | relevance | path

Searched refs:iv32 (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/crypto/intel/keembay/
H A Docs-aes.c806 u32 *iv32; in ocs_aes_op() local
822 iv32 = (u32 *)iv; in ocs_aes_op()
833 iowrite32(iv32[0], aes_dev->base_reg + AES_IV_0_OFFSET); in ocs_aes_op()
834 iowrite32(iv32[1], aes_dev->base_reg + AES_IV_1_OFFSET); in ocs_aes_op()
835 iowrite32(iv32[2], aes_dev->base_reg + AES_IV_2_OFFSET); in ocs_aes_op()
836 iowrite32(iv32[3], aes_dev->base_reg + AES_IV_3_OFFSET); in ocs_aes_op()
865 iv32[0] = ioread32(aes_dev->base_reg + AES_IV_0_OFFSET); in ocs_aes_op()
866 iv32[1] = ioread32(aes_dev->base_reg + AES_IV_1_OFFSET); in ocs_aes_op()
867 iv32[2] = ioread32(aes_dev->base_reg + AES_IV_2_OFFSET); in ocs_aes_op()
868 iv32[3] = ioread32(aes_dev->base_reg + AES_IV_3_OFFSET); in ocs_aes_op()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dlib.c915 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 Dsta.c1136 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 Dagn.h308 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key);
H A Dmac80211.c587 u32 iv32, u16 *phase1key) in iwlagn_mac_update_tkip_key() argument
591 iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key); in iwlagn_mac_update_tkip_key()
H A Dcommands.h3754 __le32 iv32; member
/linux/net/mac80211/
H A Dkey.h54 u32 iv32; /* current iv32 */ member
H A Dkey.c625 key->u.tkip.rx[i].iv32 = in ieee80211_key_alloc()
1259 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in ieee80211_get_key_rx_seq()
1312 key->u.tkip.rx[tid].iv32 = seq->tkip.iv32; in ieee80211_set_key_rx_seq()
H A Dcfg.c685 u32 iv32; in ieee80211_get_key() local
705 iv32 = TKIP_PN_TO_IV32(pn64); in ieee80211_get_key()
711 iv32 = kseq.tkip.iv32; in ieee80211_get_key()
717 seq[2] = iv32 & 0xff; in ieee80211_get_key()
718 seq[3] = (iv32 >> 8) & 0xff; in ieee80211_get_key()
719 seq[4] = (iv32 >> 16) & 0xff; in ieee80211_get_key()
720 seq[5] = (iv32 >> 24) & 0xff; in ieee80211_get_key()
H A Dieee80211_i.h246 u32 iv32; member
/linux/drivers/net/wireless/silabs/wfx/
H A Dkey.c78 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 D4965.h126 struct ieee80211_sta *sta, u32 iv32,
164 struct ieee80211_sta *sta, u32 iv32,
H A D4965-mac.c3372 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) in il4965_update_tkip_key() argument
3390 il->stations[sta_id].sta.key.tkip_rx_tsc_byte2 = (u8) iv32; in il4965_update_tkip_key()
5867 struct ieee80211_sta *sta, u32 iv32, u16 * phase1key) in il4965_mac_update_tkip_key() argument
5873 il4965_update_tkip_key(il, keyconf, sta, iv32, phase1key); in il4965_mac_update_tkip_key()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c246 tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64)); in iwl_mvm_wowlan_get_rsc_tsc_data()
260 tkip_sc[i].iv32 = cpu_to_le32(seq.tkip.iv32); in iwl_mvm_wowlan_get_rsc_tsc_data()
396 rsc[i] = cpu_to_le64(((u64)seq.tkip.iv32 << 16) | in iwl_mvm_wowlan_get_rsc_v5_data()
567 if (seq.tkip.iv32 > cur_rx_iv32) in iwl_mvm_wowlan_get_tkip_data()
568 cur_rx_iv32 = seq.tkip.iv32; in iwl_mvm_wowlan_get_tkip_data()
1652 seq->tkip.iv32 = (u32)(pn >> 16); in iwl_mvm_le64_to_tkip_seq()
1658 seq->tkip.iv32 = le32_to_cpu(sc->iv32); in iwl_mvm_tkip_sc_to_seq()
1724 ((u64)le32_to_cpu(sc->tkip.tsc.iv32) << 16); in iwl_mvm_convert_key_counters()
H A Dsta.h532 struct ieee80211_sta *sta, u32 iv32,
H A Dsta.c3657 rx_pn[2 + hole] = seq.tkip.iv32; in iwl_mvm_send_sta_key()
3658 rx_pn[3 + hole] = seq.tkip.iv32 >> 8; in iwl_mvm_send_sta_key()
3659 rx_pn[4 + hole] = seq.tkip.iv32 >> 16; in iwl_mvm_send_sta_key()
3660 rx_pn[5 + hole] = seq.tkip.iv32 >> 24; in iwl_mvm_send_sta_key()
3849 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in __iwl_mvm_set_sta_key()
3852 seq.tkip.iv32, p1k, 0, key_offset, in __iwl_mvm_set_sta_key()
4023 struct ieee80211_sta *sta, u32 iv32, in iwl_mvm_update_tkip_key() argument
4036 iv32, phase1key, CMD_ASYNC, keyconf->hw_key_idx, in iwl_mvm_update_tkip_key()
H A Dmvm.h2947 u32 iv32, u16 *phase1key);
H A Dmac80211.c4640 u32 iv32, u16 *phase1key) in iwl_mvm_mac_update_tkip_key() argument
4647 iwl_mvm_update_tkip_key(mvm, vif, keyconf, sta, iv32, phase1key); in iwl_mvm_mac_update_tkip_key()
/linux/include/net/
H A Dmac80211.h2265 u32 iv32; member
4529 u32 iv32, u16 *phase1key);
5902 u32 iv32, u16 *p1k);
5920 u32 iv32 = get_unaligned_le32(&data[4]); in ieee80211_get_tkip_p1k() local
5922 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k); in ieee80211_get_tkip_p1k()
5937 const u8 *ta, u32 iv32, u16 *p1k);
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_security.c362 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument
367 p1k[0] = Lo16(iv32); in phase1()
368 p1k[1] = Hi16(iv32); in phase1()
/linux/drivers/net/wireless/st/cw1200/
H A Dsta.c757 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/net/wireless/broadcom/b43/
H A Dmain.c898 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()