Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/mac80211/
Dtkip.c155 static void ieee80211_compute_tkip_p1k(struct ieee80211_key *key, u32 iv32) in ieee80211_compute_tkip_p1k() argument
170 if (ctx->p1k_iv32 != iv32 || ctx->state == TKIP_STATE_NOT_INIT) in ieee80211_compute_tkip_p1k()
171 tkip_mixing_phase1(tk, ctx, sdata->vif.addr, iv32); in ieee80211_compute_tkip_p1k()
175 u32 iv32, u16 *p1k) in ieee80211_get_tkip_p1k_iv() argument
182 ieee80211_compute_tkip_p1k(key, iv32); in ieee80211_get_tkip_p1k_iv()
189 const u8 *ta, u32 iv32, u16 *p1k) in ieee80211_get_tkip_rx_p1k() argument
194 tkip_mixing_phase1(tk, &ctx, ta, iv32); in ieee80211_get_tkip_rx_p1k()
208 u32 iv32 = get_unaligned_le32(&data[4]); in ieee80211_get_tkip_p2k() local
212 ieee80211_compute_tkip_p1k(key, iv32); in ieee80211_get_tkip_p2k()
248 u32 iv32; in ieee80211_tkip_decrypt_data() local
[all …]
Dkey.h54 u32 iv32; /* current iv32 */ member
Dkey.c422 key->u.tkip.rx[i].iv32 = in ieee80211_key_alloc()
1008 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in ieee80211_get_key_rx_seq()
1061 key->u.tkip.rx[tid].iv32 = seq->tkip.iv32; in ieee80211_set_key_rx_seq()
Dtrace.h610 struct ieee80211_sta *sta, u32 iv32),
612 TP_ARGS(local, sdata, conf, sta, iv32),
618 __field(u32, iv32)
625 __entry->iv32 = iv32;
630 LOCAL_PR_ARG, VIF_PR_ARG, STA_PR_ARG, __entry->iv32
Ddriver-ops.h261 struct sta_info *sta, u32 iv32, in drv_update_tkip_key() argument
273 trace_drv_update_tkip_key(local, sdata, conf, ista, iv32); in drv_update_tkip_key()
276 ista, iv32, phase1key); in drv_update_tkip_key()
Dcfg.c520 u32 iv32; in ieee80211_get_key() local
552 iv32 = TKIP_PN_TO_IV32(pn64); in ieee80211_get_key()
558 iv32 = kseq.tkip.iv32; in ieee80211_get_key()
564 seq[2] = iv32 & 0xff; in ieee80211_get_key()
565 seq[3] = (iv32 >> 8) & 0xff; in ieee80211_get_key()
566 seq[4] = (iv32 >> 16) & 0xff; in ieee80211_get_key()
567 seq[5] = (iv32 >> 24) & 0xff; in ieee80211_get_key()
Ddebugfs_key.c177 key->u.tkip.rx[i].iv32, in key_rx_spec_read()
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c378 u32 iv32; in ieee80211_tkip_decrypt() local
417 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in ieee80211_tkip_decrypt()
423 if (iv32 < tkey->rx_iv32 || in ieee80211_tkip_decrypt()
424 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) { in ieee80211_tkip_decrypt()
429 tkey->rx_iv32, tkey->rx_iv16, iv32, iv16); in ieee80211_tkip_decrypt()
435 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in ieee80211_tkip_decrypt()
436 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in ieee80211_tkip_decrypt()
468 if (iv32 != tkey->rx_iv32) { in ieee80211_tkip_decrypt()
490 tkey->rx_iv32_new = iv32; in ieee80211_tkip_decrypt()
710 u32 iv32 = tkey->tx_iv32; in ieee80211_tkip_get_key() local
[all …]
/Linux-v4.19/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c377 u32 iv32; in rtllib_tkip_decrypt() local
419 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in rtllib_tkip_decrypt()
425 if ((iv32 < tkey->rx_iv32 || in rtllib_tkip_decrypt()
426 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) && in rtllib_tkip_decrypt()
432 tkey->rx_iv16, iv32, iv16); in rtllib_tkip_decrypt()
439 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in rtllib_tkip_decrypt()
441 hdr->addr2, iv32); in rtllib_tkip_decrypt()
472 if (iv32 != tkey->rx_iv32) { in rtllib_tkip_decrypt()
493 tkey->rx_iv32_new = iv32; in rtllib_tkip_decrypt()
711 u32 iv32 = tkey->tx_iv32; in rtllib_tkip_get_key() local
[all …]
/Linux-v4.19/net/wireless/
Dlib80211_crypt_tkip.c406 u32 iv32; in lib80211_tkip_decrypt() local
445 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in lib80211_tkip_decrypt()
448 if (tkip_replay_check(iv32, iv16, tkey->rx_iv32, tkey->rx_iv16)) { in lib80211_tkip_decrypt()
452 iv32, iv16); in lib80211_tkip_decrypt()
458 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in lib80211_tkip_decrypt()
459 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in lib80211_tkip_decrypt()
485 if (iv32 != tkey->rx_iv32) { in lib80211_tkip_decrypt()
500 tkey->rx_iv32_new = iv32; in lib80211_tkip_decrypt()
705 u32 iv32 = tkey->tx_iv32; in lib80211_tkip_get_key() local
707 iv32--; in lib80211_tkip_get_key()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/
Dlib.c938 tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64)); in iwlagn_wowlan_program_keys()
940 ieee80211_get_tkip_p1k_iv(key, seq.tkip.iv32, p1k); in iwlagn_wowlan_program_keys()
963 tkip_sc[i].iv32 = cpu_to_le32(seq.tkip.iv32); in iwlagn_wowlan_program_keys()
965 if (seq.tkip.iv32 > cur_rx_iv32) in iwlagn_wowlan_program_keys()
966 cur_rx_iv32 = seq.tkip.iv32; in iwlagn_wowlan_program_keys()
Dsta.c1153 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) in iwl_update_tkip_key() argument
1167 iv32, phase1key, CMD_ASYNC); in iwl_update_tkip_key()
1249 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in iwl_set_dynamic_key()
1251 seq.tkip.iv32, p1k, 0); in iwl_set_dynamic_key()
Dagn.h366 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key);
Dmac80211.c607 u32 iv32, u16 *phase1key) in iwlagn_mac_update_tkip_key() argument
611 iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key); in iwlagn_mac_update_tkip_key()
/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/
D4965.h144 struct ieee80211_sta *sta, u32 iv32,
182 struct ieee80211_sta *sta, u32 iv32,
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c260 tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64)); in iwl_mvm_wowlan_program_keys()
286 tkip_sc[i].iv32 = cpu_to_le32(seq.tkip.iv32); in iwl_mvm_wowlan_program_keys()
288 if (seq.tkip.iv32 > cur_rx_iv32) in iwl_mvm_wowlan_program_keys()
289 cur_rx_iv32 = seq.tkip.iv32; in iwl_mvm_wowlan_program_keys()
1303 seq->tkip.iv32 = le32_to_cpu(sc->iv32); in iwl_mvm_tkip_sc_to_seq()
1438 ((u64)seq.tkip.iv32 << 16)); in iwl_mvm_d3_update_keys()
Dsta.h513 struct ieee80211_sta *sta, u32 iv32,
Dsta.c3143 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in __iwl_mvm_set_sta_key()
3145 seq.tkip.iv32, p1k, 0, key_offset, in __iwl_mvm_set_sta_key()
3380 struct ieee80211_sta *sta, u32 iv32, in iwl_mvm_update_tkip_key() argument
3393 iv32, phase1key, CMD_ASYNC, keyconf->hw_key_idx, in iwl_mvm_update_tkip_key()
/Linux-v4.19/include/net/
Dmac80211.h1679 u32 iv32; member
3592 u32 iv32, u16 *phase1key);
4733 u32 iv32, u16 *p1k);
4751 u32 iv32 = get_unaligned_le32(&data[4]); in ieee80211_get_tkip_p1k() local
4753 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k); in ieee80211_get_tkip_p1k()
4768 const u8 *ta, u32 iv32, u16 *p1k);
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/api/
Dd3.h288 __le32 iv32; member
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_security.c488 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument
492 p1k[0] = Lo16(iv32); in phase1()
493 p1k[1] = Hi16(iv32); in phase1()
/Linux-v4.19/drivers/crypto/stm32/
Dstm32-cryp.c1132 u32 *iv32 = (u32 *)iv; in stm32_cryp_read_auth_tag() local
1139 *iv32 = cpu_to_be32(*iv32); in stm32_cryp_read_auth_tag()
1140 stm32_cryp_write(cryp, CRYP_DIN, *iv32++); in stm32_cryp_read_auth_tag()
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_security.c486 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument
491 p1k[0] = Lo16(iv32); in phase1()
492 p1k[1] = Hi16(iv32); in phase1()
/Linux-v4.19/drivers/net/wireless/st/cw1200/
Dsta.c759 wsm_key->tkip_group.rx_seqnum[2] = seq.tkip.iv32 & 0xff; in cw1200_set_key()
760 wsm_key->tkip_group.rx_seqnum[3] = (seq.tkip.iv32 >> 8) & 0xff; in cw1200_set_key()
761 wsm_key->tkip_group.rx_seqnum[4] = (seq.tkip.iv32 >> 16) & 0xff; in cw1200_set_key()
762 wsm_key->tkip_group.rx_seqnum[5] = (seq.tkip.iv32 >> 24) & 0xff; in cw1200_set_key()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_security.c555 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument
560 p1k[0] = Lo16(iv32); in phase1()
561 p1k[1] = Hi16(iv32); in phase1()

12