Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/net/mac80211/
Dtkip.c152 static void ieee80211_compute_tkip_p1k(struct ieee80211_key *key, u32 iv32) in ieee80211_compute_tkip_p1k() argument
167 if (ctx->p1k_iv32 != iv32 || ctx->state == TKIP_STATE_NOT_INIT) in ieee80211_compute_tkip_p1k()
168 tkip_mixing_phase1(tk, ctx, sdata->vif.addr, iv32); in ieee80211_compute_tkip_p1k()
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()
186 const u8 *ta, u32 iv32, u16 *p1k) in ieee80211_get_tkip_rx_p1k() argument
191 tkip_mixing_phase1(tk, &ctx, ta, iv32); in ieee80211_get_tkip_rx_p1k()
205 u32 iv32 = get_unaligned_le32(&data[4]); in ieee80211_get_tkip_p2k() local
209 ieee80211_compute_tkip_p1k(key, iv32); in ieee80211_get_tkip_p2k()
245 u32 iv32; in ieee80211_tkip_decrypt_data() local
[all …]
Dkey.h55 u32 iv32; /* current iv32 */ member
Dkey.c570 key->u.tkip.rx[i].iv32 = in ieee80211_key_alloc()
1157 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in ieee80211_get_key_rx_seq()
1210 key->u.tkip.rx[tid].iv32 = seq->tkip.iv32; in ieee80211_set_key_rx_seq()
Dtrace.h623 struct ieee80211_sta *sta, u32 iv32),
625 TP_ARGS(local, sdata, conf, sta, iv32),
631 __field(u32, iv32)
638 __entry->iv32 = iv32;
643 LOCAL_PR_ARG, VIF_PR_ARG, STA_PR_ARG, __entry->iv32
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()
Dcfg.c575 u32 iv32; in ieee80211_get_key() local
608 iv32 = TKIP_PN_TO_IV32(pn64); in ieee80211_get_key()
614 iv32 = kseq.tkip.iv32; in ieee80211_get_key()
620 seq[2] = iv32 & 0xff; in ieee80211_get_key()
621 seq[3] = (iv32 >> 8) & 0xff; in ieee80211_get_key()
622 seq[4] = (iv32 >> 16) & 0xff; in ieee80211_get_key()
623 seq[5] = (iv32 >> 24) & 0xff; in ieee80211_get_key()
Ddriver-ops.h260 struct sta_info *sta, u32 iv32, in drv_update_tkip_key() argument
272 trace_drv_update_tkip_key(local, sdata, conf, ista, iv32); in drv_update_tkip_key()
275 ista, iv32, phase1key); in drv_update_tkip_key()
Ddebugfs_key.c174 key->u.tkip.rx[i].iv32, in key_rx_spec_read()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c342 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 …]
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c347 u32 iv32; in rtllib_tkip_decrypt() local
387 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in rtllib_tkip_decrypt()
391 if ((iv32 < tkey->rx_iv32 || in rtllib_tkip_decrypt()
392 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) && in rtllib_tkip_decrypt()
398 tkey->rx_iv16, iv32, iv16); in rtllib_tkip_decrypt()
405 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in rtllib_tkip_decrypt()
407 hdr->addr2, iv32); in rtllib_tkip_decrypt()
424 if (iv32 != tkey->rx_iv32) { in rtllib_tkip_decrypt()
445 tkey->rx_iv32_new = iv32; in rtllib_tkip_decrypt()
658 u32 iv32 = tkey->tx_iv32; in rtllib_tkip_get_key() local
[all …]
/kernel/linux/linux-5.10/net/wireless/
Dlib80211_crypt_tkip.c381 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()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dlib.c920 tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64)); in iwlagn_wowlan_program_keys()
922 ieee80211_get_tkip_p1k_iv(key, seq.tkip.iv32, p1k); in iwlagn_wowlan_program_keys()
945 tkip_sc[i].iv32 = cpu_to_le32(seq.tkip.iv32); in iwlagn_wowlan_program_keys()
947 if (seq.tkip.iv32 > cur_rx_iv32) in iwlagn_wowlan_program_keys()
948 cur_rx_iv32 = seq.tkip.iv32; in iwlagn_wowlan_program_keys()
Dsta.c1138 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) in iwl_update_tkip_key() argument
1152 iv32, phase1key, CMD_ASYNC); in iwl_update_tkip_key()
1234 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in iwl_set_dynamic_key()
1236 seq.tkip.iv32, p1k, 0); in iwl_set_dynamic_key()
Dagn.h361 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key);
Dmac80211.c594 u32 iv32, u16 *phase1key) in iwlagn_mac_update_tkip_key() argument
598 iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key); in iwlagn_mac_update_tkip_key()
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dkey.c83 &seq->tkip.iv32, sizeof(seq->tkip.iv32)); in fill_tkip_group()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
D4965.h126 struct ieee80211_sta *sta, u32 iv32,
164 struct ieee80211_sta *sta, u32 iv32,
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c267 tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64)); in iwl_mvm_wowlan_program_keys()
295 tkip_sc[i].iv32 = cpu_to_le32(seq.tkip.iv32); in iwl_mvm_wowlan_program_keys()
297 if (seq.tkip.iv32 > cur_rx_iv32) in iwl_mvm_wowlan_program_keys()
298 cur_rx_iv32 = seq.tkip.iv32; in iwl_mvm_wowlan_program_keys()
1351 seq->tkip.iv32 = le32_to_cpu(sc->iv32); in iwl_mvm_tkip_sc_to_seq()
1496 ((u64)seq.tkip.iv32 << 16)); in iwl_mvm_d3_update_keys()
Dsta.h521 struct ieee80211_sta *sta, u32 iv32,
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_security.c485 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument
489 p1k[0] = Lo16(iv32); in phase1()
490 p1k[1] = Hi16(iv32); in phase1()
/kernel/linux/linux-5.10/include/net/
Dmac80211.h1884 u32 iv32; member
3927 u32 iv32, u16 *phase1key);
5160 u32 iv32, u16 *p1k);
5178 u32 iv32 = get_unaligned_le32(&data[4]); in ieee80211_get_tkip_p1k() local
5180 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k); in ieee80211_get_tkip_p1k()
5195 const u8 *ta, u32 iv32, u16 *p1k);
/kernel/linux/linux-5.10/drivers/crypto/stm32/
Dstm32-cryp.c1155 u32 iv32[AES_BLOCK_32]; in stm32_cryp_read_auth_tag() local
1156 u8 *iv = (u8 *)iv32; in stm32_cryp_read_auth_tag()
1157 __be32 *biv = (__be32 *)iv32; in stm32_cryp_read_auth_tag()
1163 u32 xiv = iv32[i]; in stm32_cryp_read_auth_tag()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dd3.h430 __le32 iv32; member
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Drtl871x_security.c474 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument
479 p1k[0] = Lo16(iv32); in phase1()
480 p1k[1] = Hi16(iv32); in phase1()
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
Dsta.c756 wsm_key->tkip_group.rx_seqnum[2] = seq.tkip.iv32 & 0xff; in cw1200_set_key()
757 wsm_key->tkip_group.rx_seqnum[3] = (seq.tkip.iv32 >> 8) & 0xff; in cw1200_set_key()
758 wsm_key->tkip_group.rx_seqnum[4] = (seq.tkip.iv32 >> 16) & 0xff; in cw1200_set_key()
759 wsm_key->tkip_group.rx_seqnum[5] = (seq.tkip.iv32 >> 24) & 0xff; in cw1200_set_key()

12