Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/staging/rtl8192e/
H A Drtllib_crypt_tkip.c31 u16 tx_iv16; member
292 tkey->tx_iv16); in rtllib_tkip_encrypt()
303 *pos++ = Hi8(tkey->tx_iv16); in rtllib_tkip_encrypt()
304 *pos++ = (Hi8(tkey->tx_iv16) | 0x20) & 0x7F; in rtllib_tkip_encrypt()
305 *pos++ = Lo8(tkey->tx_iv16); in rtllib_tkip_encrypt()
330 tkey->tx_iv16++; in rtllib_tkip_encrypt()
331 if (tkey->tx_iv16 == 0) { in rtllib_tkip_encrypt()
629 tkey->tx_iv16 = 1; /* TSC is initialized to 1 */ in rtllib_tkip_set_key()
657 u16 iv16 = tkey->tx_iv16; in rtllib_tkip_get_key()
663 seq[0] = tkey->tx_iv16; in rtllib_tkip_get_key()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_tkip.c35 u16 tx_iv16; member
291 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); in ieee80211_tkip_encrypt()
302 *pos++ = Hi8(tkey->tx_iv16); in ieee80211_tkip_encrypt()
303 *pos++ = (Hi8(tkey->tx_iv16) | 0x20) & 0x7F; in ieee80211_tkip_encrypt()
304 *pos++ = Lo8(tkey->tx_iv16); in ieee80211_tkip_encrypt()
329 tkey->tx_iv16++; in ieee80211_tkip_encrypt()
330 if (tkey->tx_iv16 == 0) { in ieee80211_tkip_encrypt()
620 tkey->tx_iv16 = 1; /* TSC is initialized to 1 */ in ieee80211_tkip_set_key()
648 u16 iv16 = tkey->tx_iv16; in ieee80211_tkip_get_key()
654 seq[0] = tkey->tx_iv16; in ieee80211_tkip_get_key()
[all …]
/OK3568_Linux_fs/kernel/net/wireless/
H A Dlib80211_crypt_tkip.c48 u16 tx_iv16; member
303 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); in lib80211_tkip_hdr()
318 tkey->tx_iv16++; in lib80211_tkip_hdr()
319 if (tkey->tx_iv16 == 0) { in lib80211_tkip_hdr()
639 tkey->tx_iv16 = 1; /* TSC is initialized to 1 */ in lib80211_tkip_set_key()
666 u16 iv16 = tkey->tx_iv16; in lib80211_tkip_get_key()
671 seq[0] = tkey->tx_iv16; in lib80211_tkip_get_key()
672 seq[1] = tkey->tx_iv16 >> 8; in lib80211_tkip_get_key()
695 (tkip->tx_iv16 >> 8) & 0xff, in lib80211_tkip_print_stats()
696 tkip->tx_iv16 & 0xff, in lib80211_tkip_print_stats()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dsec_tkip.c47 u16 tx_iv16; member
342 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); in lib80211_tkip_hdr()
354 tkey->tx_iv16++; in lib80211_tkip_hdr()
355 if (tkey->tx_iv16 == 0) { in lib80211_tkip_hdr()
702 tkey->tx_iv16 = 1;
723 u16 iv16 = tkey->tx_iv16;
728 seq[0] = tkey->tx_iv16;
729 seq[1] = tkey->tx_iv16 >> 8;
749 (tkip->tx_iv16 >> 8) & 0xff,
750 tkip->tx_iv16 & 0xff,