Home
last modified time | relevance | path

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

12

/linux-6.15/net/mac80211/
H A Dtkip.c172 u32 iv32, u16 *p1k) in ieee80211_get_tkip_p1k_iv() argument
179 ieee80211_compute_tkip_p1k(key, iv32); in ieee80211_get_tkip_p1k_iv()
191 tkip_mixing_phase1(tk, &ctx, ta, iv32); in ieee80211_get_tkip_rx_p1k()
209 ieee80211_compute_tkip_p1k(key, iv32); in ieee80211_get_tkip_p2k()
245 u32 iv32; in ieee80211_tkip_decrypt_data() local
257 iv32 = get_unaligned_le32(pos + 4); in ieee80211_tkip_decrypt_data()
275 if (iv32 < rx_ctx->iv32 || in ieee80211_tkip_decrypt_data()
276 (iv32 == rx_ctx->iv32 && in ieee80211_tkip_decrypt_data()
290 rx_ctx->iv32 != iv32) { in ieee80211_tkip_decrypt_data()
303 iv32, rx_ctx->ctx.p1k); in ieee80211_tkip_decrypt_data()
[all …]
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 Dwpa.c171 rx->key->u.tkip.rx[rx->security_idx].iv32 = rx->tkip.iv32; in ieee80211_rx_h_michael_mic_verify()
298 &rx->tkip.iv32, in ieee80211_crypto_tkip_decrypt()
H A Dtrace.h691 struct ieee80211_sta *sta, u32 iv32),
693 TP_ARGS(local, sdata, conf, sta, iv32),
699 __field(u32, iv32)
706 __entry->iv32 = iv32;
711 LOCAL_PR_ARG, VIF_PR_ARG, STA_PR_ARG, __entry->iv32
H A Ddebugfs_key.c171 key->u.tkip.rx[i].iv32, in key_rx_spec_read()
H A Ddriver-ops.h250 struct sta_info *sta, u32 iv32, in drv_update_tkip_key() argument
262 trace_drv_update_tkip_key(local, sdata, conf, ista, iv32); in drv_update_tkip_key()
265 ista, iv32, phase1key); in drv_update_tkip_key()
H A Dcfg.c689 u32 iv32; in ieee80211_get_key() local
709 iv32 = TKIP_PN_TO_IV32(pn64); in ieee80211_get_key()
715 iv32 = kseq.tkip.iv32; in ieee80211_get_key()
721 seq[2] = iv32 & 0xff; in ieee80211_get_key()
722 seq[3] = (iv32 >> 8) & 0xff; in ieee80211_get_key()
723 seq[4] = (iv32 >> 16) & 0xff; in ieee80211_get_key()
724 seq[5] = (iv32 >> 24) & 0xff; in ieee80211_get_key()
/linux-6.15/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_crypto_tkip.c374 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-6.15/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-6.15/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()
/linux-6.15/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-6.15/drivers/net/wireless/intel/iwlegacy/
H A D4965.h126 struct ieee80211_sta *sta, u32 iv32,
164 struct ieee80211_sta *sta, u32 iv32,
/linux-6.15/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()
1645 seq->tkip.iv32 = (u32)(pn >> 16); in iwl_mvm_le64_to_tkip_seq()
1651 seq->tkip.iv32 = le32_to_cpu(sc->iv32); in iwl_mvm_tkip_sc_to_seq()
1717 ((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.c3651 rx_pn[2 + hole] = seq.tkip.iv32; in iwl_mvm_send_sta_key()
3652 rx_pn[3 + hole] = seq.tkip.iv32 >> 8; in iwl_mvm_send_sta_key()
3653 rx_pn[4 + hole] = seq.tkip.iv32 >> 16; in iwl_mvm_send_sta_key()
3654 rx_pn[5 + hole] = seq.tkip.iv32 >> 24; in iwl_mvm_send_sta_key()
3843 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in __iwl_mvm_set_sta_key()
3846 seq.tkip.iv32, p1k, 0, key_offset, in __iwl_mvm_set_sta_key()
4017 struct ieee80211_sta *sta, u32 iv32, in iwl_mvm_update_tkip_key() argument
4030 iv32, phase1key, CMD_ASYNC, keyconf->hw_key_idx, in iwl_mvm_update_tkip_key()
/linux-6.15/include/net/
H A Dmac80211.h2270 u32 iv32; member
4542 u32 iv32, u16 *phase1key);
5915 u32 iv32, u16 *p1k);
5933 u32 iv32 = get_unaligned_le32(&data[4]); in ieee80211_get_tkip_p1k() local
5935 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k); in ieee80211_get_tkip_p1k()
5950 const u8 *ta, u32 iv32, u16 *p1k);
/linux-6.15/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-6.15/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-6.15/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dd3.h429 __le32 iv32; member
/linux-6.15/drivers/crypto/stm32/
H A Dstm32-cryp.c1848 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-6.15/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()

12