Home
last modified time | relevance | path

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

/linux-3.4.99/net/mac80211/
Dtkip.c151 put_unaligned_le32(key->u.tkip.tx.iv32, pos); in ieee80211_tkip_add_iv()
155 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
183 ieee80211_compute_tkip_p1k(key, iv32); in ieee80211_get_tkip_p1k_iv()
190 const u8 *ta, u32 iv32, u16 *p1k) in ieee80211_get_tkip_rx_p1k() argument
195 tkip_mixing_phase1(tk, &ctx, ta, iv32); in ieee80211_get_tkip_rx_p1k()
209 u32 iv32 = get_unaligned_le32(&data[4]); in ieee80211_get_tkip_p2k() local
214 ieee80211_compute_tkip_p1k(key, iv32); in ieee80211_get_tkip_p2k()
[all …]
Ddriver-trace.h422 struct ieee80211_sta *sta, u32 iv32),
424 TP_ARGS(local, sdata, conf, sta, iv32),
430 __field(u32, iv32)
437 __entry->iv32 = iv32;
442 LOCAL_PR_ARG,VIF_PR_ARG,STA_PR_ARG, __entry->iv32
513 u8 hw_key_idx, u32 *iv32, u16 *iv16),
515 TP_ARGS(local, hw_key_idx, iv32, iv16),
520 __field(u32, iv32)
527 __entry->iv32 = *iv32;
Dkey.c363 key->u.tkip.rx[i].iv32 = in ieee80211_key_alloc()
640 seq->tkip.iv32 = key->u.tkip.tx.iv32; in ieee80211_get_key_tx_seq()
679 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in ieee80211_get_key_rx_seq()
Ddriver-ops.h233 struct sta_info *sta, u32 iv32, in drv_update_tkip_key() argument
244 trace_drv_update_tkip_key(local, sdata, conf, ista, iv32); in drv_update_tkip_key()
247 ista, iv32, phase1key); in drv_update_tkip_key()
345 u8 hw_key_idx, u32 *iv32, u16 *iv16) in drv_get_tkip_seq() argument
348 local->ops->get_tkip_seq(&local->hw, hw_key_idx, iv32, iv16); in drv_get_tkip_seq()
349 trace_drv_get_tkip_seq(local, hw_key_idx, iv32, iv16); in drv_get_tkip_seq()
Dkey.h58 u32 iv32; /* current iv32 */ member
Ddebugfs_key.c93 key->u.tkip.tx.iv32, in key_tx_spec_read()
132 key->u.tkip.rx[i].iv32, in key_rx_spec_read()
Dcfg.c234 u32 iv32; in ieee80211_get_key() local
263 iv32 = key->u.tkip.tx.iv32; in ieee80211_get_key()
269 &iv32, &iv16); in ieee80211_get_key()
273 seq[2] = iv32 & 0xff; in ieee80211_get_key()
274 seq[3] = (iv32 >> 8) & 0xff; in ieee80211_get_key()
275 seq[4] = (iv32 >> 16) & 0xff; in ieee80211_get_key()
276 seq[5] = (iv32 >> 24) & 0xff; in ieee80211_get_key()
Dwpa.c158 rx->key->u.tkip.rx[rx->security_idx].iv32 = rx->tkip_iv32; in ieee80211_rx_h_michael_mic_verify()
212 key->u.tkip.tx.iv32++; in tkip_encrypt_skb()
/linux-3.4.99/drivers/staging/rtl8187se/ieee80211/
Dieee80211_crypt_tkip.c368 u32 iv32; in ieee80211_tkip_decrypt() local
405 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in ieee80211_tkip_decrypt()
408 if (iv32 < tkey->rx_iv32 || in ieee80211_tkip_decrypt()
409 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) { in ieee80211_tkip_decrypt()
414 tkey->rx_iv32, tkey->rx_iv16, iv32, iv16); in ieee80211_tkip_decrypt()
420 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in ieee80211_tkip_decrypt()
421 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in ieee80211_tkip_decrypt()
444 if (iv32 != tkey->rx_iv32) { in ieee80211_tkip_decrypt()
459 tkey->rx_iv32_new = iv32; in ieee80211_tkip_decrypt()
675 u32 iv32 = tkey->tx_iv32; in ieee80211_tkip_get_key() local
[all …]
/linux-3.4.99/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c381 u32 iv32; in rtllib_tkip_decrypt() local
420 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in rtllib_tkip_decrypt()
424 if ((iv32 < tkey->rx_iv32 || in rtllib_tkip_decrypt()
425 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) && in rtllib_tkip_decrypt()
431 tkey->rx_iv32, tkey->rx_iv16, iv32, iv16); in rtllib_tkip_decrypt()
438 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in rtllib_tkip_decrypt()
440 hdr->addr2, iv32); in rtllib_tkip_decrypt()
466 if (iv32 != tkey->rx_iv32) { in rtllib_tkip_decrypt()
484 tkey->rx_iv32_new = iv32; in rtllib_tkip_decrypt()
695 u32 iv32 = tkey->tx_iv32; in rtllib_tkip_get_key() local
[all …]
/linux-3.4.99/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c392 u32 iv32; in ieee80211_tkip_decrypt() local
430 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in ieee80211_tkip_decrypt()
435 if (iv32 < tkey->rx_iv32 || in ieee80211_tkip_decrypt()
436 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) { in ieee80211_tkip_decrypt()
441 tkey->rx_iv32, tkey->rx_iv16, iv32, iv16); in ieee80211_tkip_decrypt()
447 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in ieee80211_tkip_decrypt()
448 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in ieee80211_tkip_decrypt()
474 if (iv32 != tkey->rx_iv32) { in ieee80211_tkip_decrypt()
491 tkey->rx_iv32_new = iv32; in ieee80211_tkip_decrypt()
705 u32 iv32 = tkey->tx_iv32; in ieee80211_tkip_get_key() local
[all …]
/linux-3.4.99/net/wireless/
Dlib80211_crypt_tkip.c412 u32 iv32; in lib80211_tkip_decrypt() local
457 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in lib80211_tkip_decrypt()
460 if (tkip_replay_check(iv32, iv16, tkey->rx_iv32, tkey->rx_iv16)) { in lib80211_tkip_decrypt()
466 tkey->rx_iv32, tkey->rx_iv16, iv32, iv16); in lib80211_tkip_decrypt()
473 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in lib80211_tkip_decrypt()
474 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in lib80211_tkip_decrypt()
498 if (iv32 != tkey->rx_iv32) { in lib80211_tkip_decrypt()
515 tkey->rx_iv32_new = iv32; in lib80211_tkip_decrypt()
709 u32 iv32 = tkey->tx_iv32; in lib80211_tkip_get_key() local
711 iv32--; in lib80211_tkip_get_key()
/linux-3.4.99/include/net/
Dmac80211.h2172 u32 iv32, u16 *phase1key);
2191 u32 *iv32, u16 *iv16);
2888 u32 iv32, u16 *p1k);
2906 u32 iv32 = get_unaligned_le32(&data[4]); in ieee80211_get_tkip_p1k() local
2908 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k); in ieee80211_get_tkip_p1k()
2923 const u8 *ta, u32 iv32, u16 *p1k);
2951 u32 iv32; member
/linux-3.4.99/drivers/net/wireless/iwlwifi/
Diwl-agn-lib.c996 tkip_tx_sc->iv32 = cpu_to_le32(seq.tkip.iv32); in iwlagn_wowlan_program_keys()
998 ieee80211_get_tkip_p1k_iv(key, seq.tkip.iv32, p1k); in iwlagn_wowlan_program_keys()
1021 tkip_sc[i].iv32 = cpu_to_le32(seq.tkip.iv32); in iwlagn_wowlan_program_keys()
1023 if (seq.tkip.iv32 > cur_rx_iv32) in iwlagn_wowlan_program_keys()
1024 cur_rx_iv32 = seq.tkip.iv32; in iwlagn_wowlan_program_keys()
Diwl-agn-sta.c1168 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) in iwl_update_tkip_key() argument
1182 iv32, phase1key, CMD_ASYNC); in iwl_update_tkip_key()
1264 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in iwl_set_dynamic_key()
1266 seq.tkip.iv32, p1k, CMD_SYNC); in iwl_set_dynamic_key()
Diwl-agn.h281 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key);
Diwl-mac80211.c518 u32 iv32, u16 *phase1key) in iwlagn_mac_update_tkip_key() argument
522 iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key); in iwlagn_mac_update_tkip_key()
Diwl-commands.h3781 __le32 iv32; member
/linux-3.4.99/drivers/net/wireless/iwlegacy/
D4965.h142 struct ieee80211_sta *sta, u32 iv32,
178 struct ieee80211_sta *sta, u32 iv32,
D4965-mac.c3347 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) in il4965_update_tkip_key() argument
3365 il->stations[sta_id].sta.key.tkip_rx_tsc_byte2 = (u8) iv32; in il4965_update_tkip_key()
5848 struct ieee80211_sta *sta, u32 iv32, u16 * phase1key) in il4965_mac_update_tkip_key() argument
5854 il4965_update_tkip_key(il, keyconf, sta, iv32, phase1key); in il4965_mac_update_tkip_key()
/linux-3.4.99/drivers/net/wireless/rt2x00/
Drt2800lib.h198 void rt2800_get_tkip_seq(struct ieee80211_hw *hw, u8 hw_key_idx, u32 *iv32,
Drt2800lib.c4663 void rt2800_get_tkip_seq(struct ieee80211_hw *hw, u8 hw_key_idx, u32 *iv32, in rt2800_get_tkip_seq() argument
4675 memcpy(iv32, &iveiv_entry.iv[4], sizeof(*iv32)); in rt2800_get_tkip_seq()
/linux-3.4.99/drivers/staging/rtl8712/
Drtl871x_security.c489 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument
494 p1k[0] = Lo16(iv32); in phase1()
495 p1k[1] = Hi16(iv32); in phase1()
/linux-3.4.99/drivers/net/wireless/b43/
Dmain.c860 static void rx_tkip_phase1_write(struct b43_wldev *dev, u8 index, u32 iv32, in rx_tkip_phase1_write() argument
884 index, iv32); in rx_tkip_phase1_write()
892 b43_shm_write16(dev, B43_SHM_SHARED, offset + i, iv32); in rx_tkip_phase1_write()
893 b43_shm_write16(dev, B43_SHM_SHARED, offset + i + 2, iv32 >> 16); in rx_tkip_phase1_write()
900 u32 iv32, u16 *phase1key) in b43_op_update_tkip_key() argument
917 rx_tkip_phase1_write(dev, index, iv32, phase1key); in b43_op_update_tkip_key()