Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/staging/r8188eu/core/
Drtw_security.c239 #define Hi8(v16) ((u8)(((v16) >> 8) & 0x00FF)) macro
248 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])
425 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()
426 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()
433 rc4key[5 + 2 * i] = Hi8(PPK[i]); in phase2()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_security.c258 #define Hi8(v16) ((u8)(((v16) >> 8) & 0x00FF)) macro
267 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])
443 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()
444 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()
452 rc4key[5+2*i] = Hi8(PPK[i]); in phase2()
/linux-6.1.9/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)])
546 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()
547 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()
553 rc4key[5 + 2 * i] = Hi8(PPK[i]); in phase2()