Searched refs:iv16 (Results 1 – 8 of 8) sorted by relevance
/net/mac80211/ |
D | tkip.c | 67 static u8 *write_tkip_iv(u8 *pos, u16 iv16) in write_tkip_iv() argument 69 *pos++ = iv16 >> 8; in write_tkip_iv() 70 *pos++ = ((iv16 >> 8) | 0x20) & 0x7f; in write_tkip_iv() 71 *pos++ = iv16 & 0xFF; in write_tkip_iv() 206 u16 iv16 = data[2] | (data[0] << 8); in ieee80211_get_tkip_p2k() local 210 tkip_mixing_phase2(tk, ctx, iv16, p2k); in ieee80211_get_tkip_p2k() 246 u32 iv16; in ieee80211_tkip_decrypt_data() local 255 iv16 = (pos[0] << 8) | pos[2]; in ieee80211_tkip_decrypt_data() 277 (iv16 < rx_ctx->iv16 || in ieee80211_tkip_decrypt_data() 278 (iv16 == rx_ctx->iv16 && in ieee80211_tkip_decrypt_data() [all …]
|
D | key.h | 55 u16 iv16; /* current iv16 */ member
|
D | key.c | 627 key->u.tkip.rx[i].iv16 = in ieee80211_key_alloc() 1246 seq->tkip.iv16 = key->u.tkip.rx[tid].iv16; in ieee80211_get_key_rx_seq() 1299 key->u.tkip.rx[tid].iv16 = seq->tkip.iv16; in ieee80211_set_key_rx_seq()
|
D | wpa.c | 172 rx->key->u.tkip.rx[rx->security_idx].iv16 = rx->tkip.iv16; in ieee80211_rx_h_michael_mic_verify() 299 &rx->tkip.iv16); in ieee80211_crypto_tkip_decrypt()
|
D | debugfs_key.c | 175 key->u.tkip.rx[i].iv16); in key_rx_spec_read()
|
D | cfg.c | 680 u16 iv16; in ieee80211_get_key() local 700 iv16 = TKIP_PN_TO_IV16(pn64); in ieee80211_get_key() 706 iv16 = kseq.tkip.iv16; in ieee80211_get_key() 709 seq[0] = iv16 & 0xff; in ieee80211_get_key() 710 seq[1] = (iv16 >> 8) & 0xff; in ieee80211_get_key()
|
D | ieee80211_i.h | 241 u16 iv16; member
|
/net/wireless/ |
D | lib80211_crypt_tkip.c | 382 u16 iv16; in lib80211_tkip_decrypt() local 417 iv16 = (pos[0] << 8) | pos[2]; 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() 435 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); in lib80211_tkip_decrypt() 464 tkey->rx_iv16_new = iv16; in lib80211_tkip_decrypt() 666 u16 iv16 = tkey->tx_iv16; in lib80211_tkip_get_key() local 668 if (iv16 == 0) in lib80211_tkip_get_key() 670 iv16--; in lib80211_tkip_get_key()
|