/net/mac80211/ |
D | tkip.c | 151 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 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() [all …]
|
D | key.c | 359 key->u.tkip.rx[i].iv32 = in ieee80211_key_alloc() 778 seq->tkip.iv32 = key->u.tkip.tx.iv32; in ieee80211_get_key_tx_seq() 817 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in ieee80211_get_key_rx_seq() 849 key->u.tkip.tx.iv32 = seq->tkip.iv32; in ieee80211_set_key_tx_seq() 889 key->u.tkip.rx[tid].iv32 = seq->tkip.iv32; in ieee80211_set_key_rx_seq()
|
D | trace.h | 550 struct ieee80211_sta *sta, u32 iv32), 552 TP_ARGS(local, sdata, conf, sta, iv32), 558 __field(u32, iv32) 565 __entry->iv32 = iv32; 570 LOCAL_PR_ARG, VIF_PR_ARG, STA_PR_ARG, __entry->iv32 641 u8 hw_key_idx, u32 *iv32, u16 *iv16), 643 TP_ARGS(local, hw_key_idx, iv32, iv16), 648 __field(u32, iv32) 655 __entry->iv32 = *iv32;
|
D | driver-ops.h | 296 struct sta_info *sta, u32 iv32, in drv_update_tkip_key() argument 308 trace_drv_update_tkip_key(local, sdata, conf, ista, iv32); in drv_update_tkip_key() 311 ista, iv32, phase1key); in drv_update_tkip_key() 417 u8 hw_key_idx, u32 *iv32, u16 *iv16) in drv_get_tkip_seq() argument 420 local->ops->get_tkip_seq(&local->hw, hw_key_idx, iv32, iv16); in drv_get_tkip_seq() 421 trace_drv_get_tkip_seq(local, hw_key_idx, iv32, iv16); in drv_get_tkip_seq()
|
D | key.h | 46 u32 iv32; /* current iv32 */ member
|
D | debugfs_key.c | 93 key->u.tkip.tx.iv32, in key_tx_spec_read() 132 key->u.tkip.rx[i].iv32, in key_rx_spec_read()
|
D | cfg.c | 301 u32 iv32; in ieee80211_get_key() local 331 iv32 = key->u.tkip.tx.iv32; in ieee80211_get_key() 337 &iv32, &iv16); in ieee80211_get_key() 341 seq[2] = iv32 & 0xff; in ieee80211_get_key() 342 seq[3] = (iv32 >> 8) & 0xff; in ieee80211_get_key() 343 seq[4] = (iv32 >> 16) & 0xff; in ieee80211_get_key() 344 seq[5] = (iv32 >> 24) & 0xff; in ieee80211_get_key()
|
D | wpa.c | 162 rx->key->u.tkip.rx[rx->security_idx].iv32 = rx->tkip_iv32; in ieee80211_rx_h_michael_mic_verify() 226 key->u.tkip.tx.iv32++; in tkip_encrypt_skb()
|
/net/wireless/ |
D | lib80211_crypt_tkip.c | 409 u32 iv32; in lib80211_tkip_decrypt() local 447 iv32 = pos[4] | (pos[5] << 8) | (pos[6] << 16) | (pos[7] << 24); in lib80211_tkip_decrypt() 450 if (tkip_replay_check(iv32, iv16, tkey->rx_iv32, tkey->rx_iv16)) { in lib80211_tkip_decrypt() 454 iv32, iv16); in lib80211_tkip_decrypt() 460 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in lib80211_tkip_decrypt() 461 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in lib80211_tkip_decrypt() 482 if (iv32 != tkey->rx_iv32) { in lib80211_tkip_decrypt() 497 tkey->rx_iv32_new = iv32; in lib80211_tkip_decrypt() 691 u32 iv32 = tkey->tx_iv32; in lib80211_tkip_get_key() local 693 iv32--; in lib80211_tkip_get_key()
|