Home
last modified time | relevance | path

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

/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c159 static inline u8 Hi8(u16 val) in Hi8() function
228 u16 t = Sbox[Hi8(v)]; in _S_()
290 WEPSeed[0] = Hi8(IV16); in tkip_mixing_phase2()
291 WEPSeed[1] = (Hi8(IV16) | 0x20) & 0x7F; in tkip_mixing_phase2()
344 *pos++ = Hi8(tkey->tx_iv16); in ieee80211_tkip_encrypt()
345 *pos++ = (Hi8(tkey->tx_iv16) | 0x20) & 0x7F; in ieee80211_tkip_encrypt()
/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c150 static inline u8 Hi8(u16 val) in Hi8() function
218 u16 t = Sbox[Hi8(v)]; in _S_()
280 WEPSeed[0] = Hi8(IV16); in tkip_mixing_phase2()
281 WEPSeed[1] = (Hi8(IV16) | 0x20) & 0x7F; in tkip_mixing_phase2()
334 *pos++ = Hi8(tkey->tx_iv16); in rtllib_tkip_encrypt()
335 *pos++ = (Hi8(tkey->tx_iv16) | 0x20) & 0x7F; in rtllib_tkip_encrypt()
/drivers/staging/rtl8712/
Drtl871x_security.c380 #define Hi8(v16) ((u8)(((v16) >> 8) & 0x00FF)) macro
389 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])
561 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()
562 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()
568 rc4key[5 + 2 * i] = Hi8(PPK[i]); in phase2()
/drivers/staging/rtl8723au/core/
Drtw_security.c413 #define Hi8(v16) ((u8)(((v16) >> 8) & 0x00FF)) macro
422 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])
599 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()
600 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()
608 rc4key[5+2*i] = Hi8(PPK[i]); in phase2()
/drivers/staging/rtl8188eu/core/
Drtw_security.c366 #define Hi8(v16) ((u8)(((v16) >> 8) & 0x00FF)) macro
375 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])
549 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()
550 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()
557 rc4key[5+2*i] = Hi8(PPK[i]); in phase2()