/Linux-v5.4/net/mac80211/ |
D | tkip.c | 152 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 …]
|
D | key.h | 54 u32 iv32; /* current iv32 */ member
|
D | key.c | 531 key->u.tkip.rx[i].iv32 = in ieee80211_key_alloc() 1110 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in ieee80211_get_key_rx_seq() 1163 key->u.tkip.rx[tid].iv32 = seq->tkip.iv32; in ieee80211_set_key_rx_seq()
|
D | trace.h | 610 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
|
D | driver-ops.h | 261 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()
|
D | cfg.c | 554 u32 iv32; in ieee80211_get_key() local 586 iv32 = TKIP_PN_TO_IV32(pn64); in ieee80211_get_key() 592 iv32 = kseq.tkip.iv32; in ieee80211_get_key() 598 seq[2] = iv32 & 0xff; in ieee80211_get_key() 599 seq[3] = (iv32 >> 8) & 0xff; in ieee80211_get_key() 600 seq[4] = (iv32 >> 16) & 0xff; in ieee80211_get_key() 601 seq[5] = (iv32 >> 24) & 0xff; in ieee80211_get_key()
|
D | debugfs_key.c | 174 key->u.tkip.rx[i].iv32, in key_rx_spec_read()
|
/Linux-v5.4/drivers/staging/rtl8192e/ |
D | rtllib_crypt_tkip.c | 371 u32 iv32; in rtllib_tkip_decrypt() local 413 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in rtllib_tkip_decrypt() 419 if ((iv32 < tkey->rx_iv32 || in rtllib_tkip_decrypt() 420 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) && in rtllib_tkip_decrypt() 426 tkey->rx_iv16, iv32, iv16); in rtllib_tkip_decrypt() 433 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in rtllib_tkip_decrypt() 435 hdr->addr2, iv32); in rtllib_tkip_decrypt() 466 if (iv32 != tkey->rx_iv32) { in rtllib_tkip_decrypt() 487 tkey->rx_iv32_new = iv32; in rtllib_tkip_decrypt() 704 u32 iv32 = tkey->tx_iv32; in rtllib_tkip_get_key() local [all …]
|
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_tkip.c | 372 u32 iv32; in ieee80211_tkip_decrypt() local 411 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in ieee80211_tkip_decrypt() 417 if (iv32 < tkey->rx_iv32 || in ieee80211_tkip_decrypt() 418 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) { in ieee80211_tkip_decrypt() 423 tkey->rx_iv32, tkey->rx_iv16, iv32, iv16); in ieee80211_tkip_decrypt() 429 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in ieee80211_tkip_decrypt() 430 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in ieee80211_tkip_decrypt() 462 if (iv32 != tkey->rx_iv32) { in ieee80211_tkip_decrypt() 484 tkey->rx_iv32_new = iv32; in ieee80211_tkip_decrypt() 703 u32 iv32 = tkey->tx_iv32; in ieee80211_tkip_get_key() local [all …]
|
/Linux-v5.4/net/wireless/ |
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-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | lib.c | 920 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()
|
D | sta.c | 1138 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()
|
D | agn.h | 361 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key);
|
D | mac80211.c | 593 u32 iv32, u16 *phase1key) in iwlagn_mac_update_tkip_key() argument 597 iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key); in iwlagn_mac_update_tkip_key()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlegacy/ |
D | 4965.h | 126 struct ieee80211_sta *sta, u32 iv32, 164 struct ieee80211_sta *sta, u32 iv32,
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 260 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() 1271 seq->tkip.iv32 = le32_to_cpu(sc->iv32); in iwl_mvm_tkip_sc_to_seq() 1407 ((u64)seq.tkip.iv32 << 16)); in iwl_mvm_d3_update_keys()
|
D | sta.h | 521 struct ieee80211_sta *sta, u32 iv32,
|
D | sta.c | 3432 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in __iwl_mvm_set_sta_key() 3434 seq.tkip.iv32, p1k, 0, key_offset, in __iwl_mvm_set_sta_key() 3616 struct ieee80211_sta *sta, u32 iv32, in iwl_mvm_update_tkip_key() argument 3629 iv32, phase1key, CMD_ASYNC, keyconf->hw_key_idx, in iwl_mvm_update_tkip_key()
|
/Linux-v5.4/include/net/ |
D | mac80211.h | 1788 u32 iv32; member 3802 u32 iv32, u16 *phase1key); 4977 u32 iv32, u16 *p1k); 4995 u32 iv32 = get_unaligned_le32(&data[4]); in ieee80211_get_tkip_p1k() local 4997 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k); in ieee80211_get_tkip_p1k() 5012 const u8 *ta, u32 iv32, u16 *p1k);
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | d3.h | 422 __le32 iv32; member
|
/Linux-v5.4/drivers/staging/rtl8188eu/core/ |
D | rtw_security.c | 487 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-v5.4/drivers/crypto/stm32/ |
D | stm32-cryp.c | 1138 u32 *iv32 = (u32 *)iv; in stm32_cryp_read_auth_tag() local 1145 *iv32 = cpu_to_be32(*iv32); in stm32_cryp_read_auth_tag() 1146 stm32_cryp_write(cryp, CRYP_DIN, *iv32++); in stm32_cryp_read_auth_tag()
|
/Linux-v5.4/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 474 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()
|
/Linux-v5.4/drivers/net/wireless/st/cw1200/ |
D | sta.c | 756 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()
|
/Linux-v5.4/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 555 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()
|