Home
last modified time | relevance | path

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

/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c387 u32 iv32; in ieee80211_tkip_decrypt() local
426 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in ieee80211_tkip_decrypt()
432 if (iv32 < tkey->rx_iv32 || in ieee80211_tkip_decrypt()
433 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) { in ieee80211_tkip_decrypt()
438 tkey->rx_iv32, tkey->rx_iv16, iv32, iv16); in ieee80211_tkip_decrypt()
444 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in ieee80211_tkip_decrypt()
445 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in ieee80211_tkip_decrypt()
477 if (iv32 != tkey->rx_iv32) { in ieee80211_tkip_decrypt()
499 tkey->rx_iv32_new = iv32; in ieee80211_tkip_decrypt()
718 u32 iv32 = tkey->tx_iv32; in ieee80211_tkip_get_key() local
[all …]
/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c379 u32 iv32; in rtllib_tkip_decrypt() local
421 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in rtllib_tkip_decrypt()
427 if ((iv32 < tkey->rx_iv32 || in rtllib_tkip_decrypt()
428 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) && in rtllib_tkip_decrypt()
434 tkey->rx_iv16, iv32, iv16); in rtllib_tkip_decrypt()
441 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in rtllib_tkip_decrypt()
443 hdr->addr2, iv32); in rtllib_tkip_decrypt()
474 if (iv32 != tkey->rx_iv32) { in rtllib_tkip_decrypt()
495 tkey->rx_iv32_new = iv32; in rtllib_tkip_decrypt()
711 u32 iv32 = tkey->tx_iv32; in rtllib_tkip_get_key() local
[all …]
/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.c605 u32 iv32, u16 *phase1key) in iwlagn_mac_update_tkip_key() argument
609 iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key); in iwlagn_mac_update_tkip_key()
Dcommands.h3828 __le32 iv32; member
/drivers/net/wireless/intel/iwlegacy/
D4965.h144 struct ieee80211_sta *sta, u32 iv32,
182 struct ieee80211_sta *sta, u32 iv32,
D4965-mac.c3393 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) in il4965_update_tkip_key() argument
3411 il->stations[sta_id].sta.key.tkip_rx_tsc_byte2 = (u8) iv32; in il4965_update_tkip_key()
5899 struct ieee80211_sta *sta, u32 iv32, u16 * phase1key) in il4965_mac_update_tkip_key() argument
5905 il4965_update_tkip_key(il, keyconf, sta, iv32, phase1key); in il4965_mac_update_tkip_key()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c263 tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64)); in iwl_mvm_wowlan_program_keys()
289 tkip_sc[i].iv32 = cpu_to_le32(seq.tkip.iv32); in iwl_mvm_wowlan_program_keys()
291 if (seq.tkip.iv32 > cur_rx_iv32) in iwl_mvm_wowlan_program_keys()
292 cur_rx_iv32 = seq.tkip.iv32; in iwl_mvm_wowlan_program_keys()
1500 seq->tkip.iv32 = le32_to_cpu(sc->iv32); in iwl_mvm_tkip_sc_to_seq()
1635 ((u64)seq.tkip.iv32 << 16)); in iwl_mvm_d3_update_keys()
Dsta.h503 struct ieee80211_sta *sta, u32 iv32,
Dfw-api-d3.h276 __le32 iv32; member
Dsta.c2787 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in __iwl_mvm_set_sta_key()
2789 seq.tkip.iv32, p1k, 0, key_offset); in __iwl_mvm_set_sta_key()
2995 struct ieee80211_sta *sta, u32 iv32, in iwl_mvm_update_tkip_key() argument
3007 iv32, phase1key, CMD_ASYNC, keyconf->hw_key_idx); in iwl_mvm_update_tkip_key()
Dmac80211.c2922 u32 iv32, u16 *phase1key) in iwl_mvm_mac_update_tkip_key() argument
2929 iwl_mvm_update_tkip_key(mvm, vif, keyconf, sta, iv32, phase1key); in iwl_mvm_mac_update_tkip_key()
/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()
/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()
/drivers/staging/rtl8188eu/core/
Drtw_security.c468 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument
472 p1k[0] = Lo16(iv32); in phase1()
473 p1k[1] = Hi16(iv32); in phase1()
/drivers/net/wireless/broadcom/b43/
Dmain.c913 static void rx_tkip_phase1_write(struct b43_wldev *dev, u8 index, u32 iv32, in rx_tkip_phase1_write() argument
937 index, iv32); in rx_tkip_phase1_write()
945 b43_shm_write16(dev, B43_SHM_SHARED, offset + i, iv32); in rx_tkip_phase1_write()
946 b43_shm_write16(dev, B43_SHM_SHARED, offset + i + 2, iv32 >> 16); in rx_tkip_phase1_write()
953 u32 iv32, u16 *phase1key) in b43_op_update_tkip_key() argument
970 rx_tkip_phase1_write(dev, index, iv32, phase1key); in b43_op_update_tkip_key()
/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c7816 memcpy(&seq->tkip.iv32, &iveiv_entry.iv[4], 4); in rt2800_get_key_seq()