/linux-6.3-rc2/net/mac80211/ |
A D | tkip.c | 172 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 …]
|
A D | key.h | 54 u32 iv32; /* current iv32 */ member
|
A D | key.c | 625 key->u.tkip.rx[i].iv32 = in ieee80211_key_alloc() 1245 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in ieee80211_get_key_rx_seq() 1298 key->u.tkip.rx[tid].iv32 = seq->tkip.iv32; in ieee80211_set_key_rx_seq()
|
A D | wpa.c | 171 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()
|
A D | trace.h | 657 struct ieee80211_sta *sta, u32 iv32), 659 TP_ARGS(local, sdata, conf, sta, iv32), 665 __field(u32, iv32) 672 __entry->iv32 = iv32; 677 LOCAL_PR_ARG, VIF_PR_ARG, STA_PR_ARG, __entry->iv32
|
A D | driver-ops.h | 238 struct sta_info *sta, u32 iv32, in drv_update_tkip_key() argument 250 trace_drv_update_tkip_key(local, sdata, conf, ista, iv32); in drv_update_tkip_key() 253 ista, iv32, phase1key); in drv_update_tkip_key()
|
A D | cfg.c | 676 u32 iv32; in ieee80211_get_key() local 696 iv32 = TKIP_PN_TO_IV32(pn64); in ieee80211_get_key() 702 iv32 = kseq.tkip.iv32; in ieee80211_get_key() 708 seq[2] = iv32 & 0xff; in ieee80211_get_key() 709 seq[3] = (iv32 >> 8) & 0xff; in ieee80211_get_key() 710 seq[4] = (iv32 >> 16) & 0xff; in ieee80211_get_key() 711 seq[5] = (iv32 >> 24) & 0xff; in ieee80211_get_key()
|
/linux-6.3-rc2/drivers/staging/rtl8192u/ieee80211/ |
A D | ieee80211_crypt_tkip.c | 342 u32 iv32; in ieee80211_tkip_decrypt() local 379 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in ieee80211_tkip_decrypt() 383 if (iv32 < tkey->rx_iv32 || in ieee80211_tkip_decrypt() 384 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) { in ieee80211_tkip_decrypt() 389 tkey->rx_iv32, tkey->rx_iv16, iv32, iv16); in ieee80211_tkip_decrypt() 395 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in ieee80211_tkip_decrypt() 396 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in ieee80211_tkip_decrypt() 413 if (iv32 != tkey->rx_iv32) { in ieee80211_tkip_decrypt() 435 tkey->rx_iv32_new = iv32; in ieee80211_tkip_decrypt() 649 u32 iv32 = tkey->tx_iv32; in ieee80211_tkip_get_key() local [all …]
|
/linux-6.3-rc2/drivers/staging/rtl8192e/ |
A D | rtllib_crypt_tkip.c | 331 u32 iv32; in rtllib_tkip_decrypt() local 371 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in rtllib_tkip_decrypt() 375 if ((iv32 < tkey->rx_iv32 || in rtllib_tkip_decrypt() 376 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) && in rtllib_tkip_decrypt() 382 tkey->rx_iv16, iv32, iv16); in rtllib_tkip_decrypt() 389 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in rtllib_tkip_decrypt() 391 hdr->addr2, iv32); in rtllib_tkip_decrypt() 408 if (iv32 != tkey->rx_iv32) { in rtllib_tkip_decrypt() 428 tkey->rx_iv32_new = iv32; in rtllib_tkip_decrypt() 641 u32 iv32 = tkey->tx_iv32; in rtllib_tkip_get_key() local [all …]
|
/linux-6.3-rc2/net/wireless/ |
A D | lib80211_crypt_tkip.c | 381 u32 iv32; in lib80211_tkip_decrypt() local 418 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in lib80211_tkip_decrypt() 421 if (tkip_replay_check(iv32, iv16, tkey->rx_iv32, tkey->rx_iv16)) { in lib80211_tkip_decrypt() 425 iv32, iv16); in lib80211_tkip_decrypt() 431 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in lib80211_tkip_decrypt() 432 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in lib80211_tkip_decrypt() 448 if (iv32 != tkey->rx_iv32) { in lib80211_tkip_decrypt() 463 tkey->rx_iv32_new = iv32; in lib80211_tkip_decrypt() 667 u32 iv32 = tkey->tx_iv32; in lib80211_tkip_get_key() local 669 iv32--; in lib80211_tkip_get_key()
|
/linux-6.3-rc2/drivers/crypto/keembay/ |
A D | ocs-aes.c | 806 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.3-rc2/drivers/net/wireless/intel/iwlwifi/dvm/ |
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()
|
A D | sta.c | 1133 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) in iwl_update_tkip_key() argument 1147 iv32, phase1key, CMD_ASYNC); in iwl_update_tkip_key() 1229 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in iwl_set_dynamic_key() 1231 seq.tkip.iv32, p1k, 0); in iwl_set_dynamic_key()
|
A D | agn.h | 308 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key);
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlegacy/ |
A D | 4965.h | 126 struct ieee80211_sta *sta, u32 iv32, 164 struct ieee80211_sta *sta, u32 iv32,
|
/linux-6.3-rc2/drivers/net/wireless/silabs/wfx/ |
A D | key.c | 78 memcpy(msg->rx_sequence_counter + sizeof(u16), &seq->tkip.iv32, sizeof(seq->tkip.iv32)); in fill_tkip_group()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | d3.c | 246 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() 1593 seq->tkip.iv32 = (u32)(pn >> 16); in iwl_mvm_le64_to_tkip_seq() 1599 seq->tkip.iv32 = le32_to_cpu(sc->iv32); in iwl_mvm_tkip_sc_to_seq() 1665 ((u64)le32_to_cpu(sc->tkip.tsc.iv32) << 16); in iwl_mvm_convert_key_counters()
|
A D | sta.h | 487 struct ieee80211_sta *sta, u32 iv32,
|
A D | sta.c | 3481 rx_pn[2 + hole] = seq.tkip.iv32; in iwl_mvm_send_sta_key() 3482 rx_pn[3 + hole] = seq.tkip.iv32 >> 8; in iwl_mvm_send_sta_key() 3483 rx_pn[4 + hole] = seq.tkip.iv32 >> 16; in iwl_mvm_send_sta_key() 3484 rx_pn[5 + hole] = seq.tkip.iv32 >> 24; in iwl_mvm_send_sta_key() 3665 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in __iwl_mvm_set_sta_key() 3668 seq.tkip.iv32, p1k, 0, key_offset, in __iwl_mvm_set_sta_key() 3839 struct ieee80211_sta *sta, u32 iv32, in iwl_mvm_update_tkip_key() argument 3852 iv32, phase1key, CMD_ASYNC, keyconf->hw_key_idx, in iwl_mvm_update_tkip_key()
|
/linux-6.3-rc2/include/net/ |
A D | mac80211.h | 2088 u32 iv32; member 4289 u32 iv32, u16 *phase1key); 5578 u32 iv32, u16 *p1k); 5596 u32 iv32 = get_unaligned_le32(&data[4]); in ieee80211_get_tkip_p1k() local 5598 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k); in ieee80211_get_tkip_p1k() 5613 const u8 *ta, u32 iv32, u16 *p1k);
|
/linux-6.3-rc2/drivers/crypto/stm32/ |
A D | stm32-cryp.c | 1338 u32 iv32[AES_BLOCK_32]; in stm32_cryp_read_auth_tag() local 1339 u8 *iv = (u8 *)iv32; in stm32_cryp_read_auth_tag() 1340 __be32 *biv = (__be32 *)iv32; in stm32_cryp_read_auth_tag() 1346 u32 xiv = iv32[i]; in stm32_cryp_read_auth_tag()
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/core/ |
A D | rtw_security.c | 363 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument 368 p1k[0] = Lo16(iv32); in phase1() 369 p1k[1] = Hi16(iv32); in phase1()
|
/linux-6.3-rc2/drivers/staging/rtl8712/ |
A D | rtl871x_security.c | 473 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument 478 p1k[0] = Lo16(iv32); in phase1() 479 p1k[1] = Hi16(iv32); in phase1()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/fw/api/ |
A D | d3.h | 404 __le32 iv32; member
|
/linux-6.3-rc2/drivers/net/wireless/st/cw1200/ |
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()
|