Home
last modified time | relevance | path

Searched refs:tx_iv16 (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c39 u16 tx_iv16; member
316 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); in ieee80211_tkip_encrypt()
327 *pos++ = Hi8(tkey->tx_iv16); in ieee80211_tkip_encrypt()
328 *pos++ = (Hi8(tkey->tx_iv16) | 0x20) & 0x7F; in ieee80211_tkip_encrypt()
329 *pos++ = Lo8(tkey->tx_iv16); in ieee80211_tkip_encrypt()
360 tkey->tx_iv16++; in ieee80211_tkip_encrypt()
361 if (tkey->tx_iv16 == 0) { in ieee80211_tkip_encrypt()
681 tkey->tx_iv16 = 1; /* TSC is initialized to 1 */ in ieee80211_tkip_set_key()
709 u16 iv16 = tkey->tx_iv16; in ieee80211_tkip_get_key()
715 seq[0] = tkey->tx_iv16; in ieee80211_tkip_get_key()
[all …]
/Linux-v4.19/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c35 u16 tx_iv16; member
313 tkey->tx_iv16); in rtllib_tkip_encrypt()
324 *pos++ = Hi8(tkey->tx_iv16); in rtllib_tkip_encrypt()
325 *pos++ = (Hi8(tkey->tx_iv16) | 0x20) & 0x7F; in rtllib_tkip_encrypt()
326 *pos++ = Lo8(tkey->tx_iv16); in rtllib_tkip_encrypt()
360 tkey->tx_iv16++; in rtllib_tkip_encrypt()
361 if (tkey->tx_iv16 == 0) { in rtllib_tkip_encrypt()
682 tkey->tx_iv16 = 1; /* TSC is initialized to 1 */ in rtllib_tkip_set_key()
710 u16 iv16 = tkey->tx_iv16; in rtllib_tkip_get_key()
716 seq[0] = tkey->tx_iv16; in rtllib_tkip_get_key()
[all …]
/Linux-v4.19/net/wireless/
Dlib80211_crypt_tkip.c50 u16 tx_iv16; member
320 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); in lib80211_tkip_hdr()
335 tkey->tx_iv16++; in lib80211_tkip_hdr()
336 if (tkey->tx_iv16 == 0) { in lib80211_tkip_hdr()
677 tkey->tx_iv16 = 1; /* TSC is initialized to 1 */ in lib80211_tkip_set_key()
704 u16 iv16 = tkey->tx_iv16; in lib80211_tkip_get_key()
709 seq[0] = tkey->tx_iv16; in lib80211_tkip_get_key()
710 seq[1] = tkey->tx_iv16 >> 8; in lib80211_tkip_get_key()
733 (tkip->tx_iv16 >> 8) & 0xff, in lib80211_tkip_print_stats()
734 tkip->tx_iv16 & 0xff, in lib80211_tkip_print_stats()