Searched refs:Hi8 (Results 1 – 4 of 4) sorted by relevance
151 static inline u8 Hi8(u16 val) in Hi8() function219 u16 t = Sbox[Hi8(v)]; in _S_()285 WEPSeed[0] = Hi8(IV16); in tkip_mixing_phase2()286 WEPSeed[1] = (Hi8(IV16) | 0x20) & 0x7F; in tkip_mixing_phase2()336 *pos++ = Hi8(tkey->tx_iv16); in ieee80211_tkip_encrypt()337 *pos++ = (Hi8(tkey->tx_iv16) | 0x20) & 0x7F; in ieee80211_tkip_encrypt()
141 static inline u8 Hi8(u16 val) in Hi8() function209 u16 t = Sbox[Hi8(v)]; in _S_()273 WEPSeed[0] = Hi8(IV16); in tkip_mixing_phase2()274 WEPSeed[1] = (Hi8(IV16) | 0x20) & 0x7F; in tkip_mixing_phase2()326 *pos++ = Hi8(tkey->tx_iv16); in rtllib_tkip_encrypt()327 *pos++ = (Hi8(tkey->tx_iv16) | 0x20) & 0x7F; in rtllib_tkip_encrypt()
378 #define Hi8(v16) ((u8)(((v16) >> 8) & 0x00FF)) macro387 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])559 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()560 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()566 rc4key[5 + 2 * i] = Hi8(PPK[i]); in phase2()
360 #define Hi8(v16) ((u8)(((v16) >> 8) & 0x00FF)) macro369 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])543 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()544 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()551 rc4key[5+2*i] = Hi8(PPK[i]); in phase2()