Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c38 u16 tx_iv16; member
333 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); in ieee80211_tkip_encrypt()
344 *pos++ = Hi8(tkey->tx_iv16); in ieee80211_tkip_encrypt()
345 *pos++ = (Hi8(tkey->tx_iv16) | 0x20) & 0x7F; in ieee80211_tkip_encrypt()
346 *pos++ = Lo8(tkey->tx_iv16); in ieee80211_tkip_encrypt()
371 tkey->tx_iv16++; in ieee80211_tkip_encrypt()
372 if (tkey->tx_iv16 == 0) { in ieee80211_tkip_encrypt()
679 tkey->tx_iv16 = 1; /* TSC is initialized to 1 */ in ieee80211_tkip_set_key()
707 u16 iv16 = tkey->tx_iv16; in ieee80211_tkip_get_key()
713 seq[0] = tkey->tx_iv16; in ieee80211_tkip_get_key()
[all …]
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c34 u16 tx_iv16; member
323 tkey->tx_iv16); in rtllib_tkip_encrypt()
334 *pos++ = Hi8(tkey->tx_iv16); in rtllib_tkip_encrypt()
335 *pos++ = (Hi8(tkey->tx_iv16) | 0x20) & 0x7F; in rtllib_tkip_encrypt()
336 *pos++ = Lo8(tkey->tx_iv16); in rtllib_tkip_encrypt()
364 tkey->tx_iv16++; in rtllib_tkip_encrypt()
365 if (tkey->tx_iv16 == 0) { in rtllib_tkip_encrypt()
674 tkey->tx_iv16 = 1; /* TSC is initialized to 1 */ in rtllib_tkip_set_key()
702 u16 iv16 = tkey->tx_iv16; in rtllib_tkip_get_key()
708 seq[0] = tkey->tx_iv16; in rtllib_tkip_get_key()
[all …]
/linux-4.4.14/net/wireless/
Dlib80211_crypt_tkip.c49 u16 tx_iv16; member
329 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); in lib80211_tkip_hdr()
344 tkey->tx_iv16++; in lib80211_tkip_hdr()
345 if (tkey->tx_iv16 == 0) { in lib80211_tkip_hdr()
663 tkey->tx_iv16 = 1; /* TSC is initialized to 1 */ in lib80211_tkip_set_key()
690 u16 iv16 = tkey->tx_iv16; in lib80211_tkip_get_key()
695 seq[0] = tkey->tx_iv16; in lib80211_tkip_get_key()
696 seq[1] = tkey->tx_iv16 >> 8; in lib80211_tkip_get_key()
719 (tkip->tx_iv16 >> 8) & 0xff, in lib80211_tkip_print_stats()
720 tkip->tx_iv16 & 0xff, in lib80211_tkip_print_stats()