Home
last modified time | relevance | path

Searched refs:iv16 (Results 1 – 7 of 7) sorted by relevance

/net/mac80211/
Dtkip.c70 static u8 *write_tkip_iv(u8 *pos, u16 iv16) in write_tkip_iv() argument
72 *pos++ = iv16 >> 8; in write_tkip_iv()
73 *pos++ = ((iv16 >> 8) | 0x20) & 0x7f; in write_tkip_iv()
74 *pos++ = iv16 & 0xFF; in write_tkip_iv()
209 u16 iv16 = data[2] | (data[0] << 8); in ieee80211_get_tkip_p2k() local
213 tkip_mixing_phase2(tk, ctx, iv16, p2k); in ieee80211_get_tkip_p2k()
249 u32 iv16; in ieee80211_tkip_decrypt_data() local
258 iv16 = (pos[0] << 8) | pos[2]; in ieee80211_tkip_decrypt_data()
271 (iv32 == rx_ctx->iv32 && iv16 <= rx_ctx->iv16))) in ieee80211_tkip_decrypt_data()
298 tkip_mixing_phase2(tk, &rx_ctx->ctx, iv16, rc4key); in ieee80211_tkip_decrypt_data()
[all …]
Dkey.c416 key->u.tkip.rx[i].iv16 = in ieee80211_key_alloc()
995 seq->tkip.iv16 = key->u.tkip.rx[tid].iv16; in ieee80211_get_key_rx_seq()
1048 key->u.tkip.rx[tid].iv16 = seq->tkip.iv16; in ieee80211_set_key_rx_seq()
Dkey.h55 u16 iv16; /* current iv16 */ member
Dcfg.c480 u16 iv16; in ieee80211_get_key() local
512 iv16 = TKIP_PN_TO_IV16(pn64); in ieee80211_get_key()
518 iv16 = kseq.tkip.iv16; in ieee80211_get_key()
521 seq[0] = iv16 & 0xff; in ieee80211_get_key()
522 seq[1] = (iv16 >> 8) & 0xff; in ieee80211_get_key()
Ddebugfs_key.c178 key->u.tkip.rx[i].iv16); in key_rx_spec_read()
Dwpa.c166 rx->key->u.tkip.rx[rx->security_idx].iv16 = rx->tkip_iv16; in ieee80211_rx_h_michael_mic_verify()
/net/wireless/
Dlib80211_crypt_tkip.c409 u16 iv16; in lib80211_tkip_decrypt() local
446 iv16 = (pos[0] << 8) | pos[2]; 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()
464 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); in lib80211_tkip_decrypt()
503 tkey->rx_iv16_new = iv16; in lib80211_tkip_decrypt()
699 u16 iv16 = tkey->tx_iv16; in lib80211_tkip_get_key() local
701 if (iv16 == 0) in lib80211_tkip_get_key()
703 iv16--; in lib80211_tkip_get_key()