Home
last modified time | relevance | path

Searched refs:Hi8 (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c119 static inline u8 Hi8(u16 val) in Hi8() function
187 u16 t = Sbox[Hi8(v)]; in _S_()
251 WEPSeed[0] = Hi8(IV16); in tkip_mixing_phase2()
252 WEPSeed[1] = (Hi8(IV16) | 0x20) & 0x7F; in tkip_mixing_phase2()
303 *pos++ = Hi8(tkey->tx_iv16); in rtllib_tkip_encrypt()
304 *pos++ = (Hi8(tkey->tx_iv16) | 0x20) & 0x7F; in rtllib_tkip_encrypt()
/Linux-v5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c126 static inline u8 Hi8(u16 val) in Hi8() function
187 u16 t = Sbox[Hi8(v)]; in _S_()
253 WEPSeed[0] = Hi8(IV16); in tkip_mixing_phase2()
254 WEPSeed[1] = (Hi8(IV16) | 0x20) & 0x7F; in tkip_mixing_phase2()
302 *pos++ = Hi8(tkey->tx_iv16); in ieee80211_tkip_encrypt()
303 *pos++ = (Hi8(tkey->tx_iv16) | 0x20) & 0x7F; in ieee80211_tkip_encrypt()
/Linux-v5.10/net/wireless/
Dlib80211_crypt_tkip.c147 static inline u8 Hi8(u16 val) in Hi8() function
209 u16 t = Sbox[Hi8(v)]; in _S_()
269 WEPSeed[0] = Hi8(IV16); in tkip_mixing_phase2()
270 WEPSeed[1] = (Hi8(IV16) | 0x20) & 0x7F; in tkip_mixing_phase2()
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_security.c377 #define Hi8(v16) ((u8)(((v16) >> 8) & 0x00FF)) macro
386 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])
560 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()
561 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()
568 rc4key[5 + 2 * i] = Hi8(PPK[i]); in phase2()
/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_security.c366 #define Hi8(v16) ((u8)(((v16) >> 8) & 0x00FF)) macro
375 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])
547 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()
548 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()
554 rc4key[5 + 2 * i] = Hi8(PPK[i]); in phase2()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_security.c449 #define Hi8(v16) ((u8)(((v16) >> 8) & 0x00FF)) macro
458 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])
639 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()
640 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()
648 rc4key[5+2*i] = Hi8(PPK[i]); in phase2()