Searched refs:Lo8 (Results 1 – 5 of 5) sorted by relevance
120 static inline u8 Lo8(u16 val) in Lo8() function188 return Sbox[Lo8(v)] ^ ((t << 8) | (t >> 8)); in _S_()255 WEPSeed[2] = Lo8(IV16); in tkip_mixing_phase2()256 WEPSeed[3] = Lo8((PPK[5] ^ le16_to_cpu(*(__le16 *)(&TK[0]))) >> 1); in tkip_mixing_phase2()304 *pos++ = Lo8(tkey->tx_iv16); in ieee80211_tkip_encrypt()
110 static inline u8 Lo8(u16 val) in Lo8() function178 return Sbox[Lo8(v)] ^ ((t << 8) | (t >> 8)); in _S_()240 WEPSeed[2] = Lo8(IV16); in tkip_mixing_phase2()241 WEPSeed[3] = Lo8((PPK[5] ^ Mk16_le((u16 *)&TK[0])) >> 1); in tkip_mixing_phase2()291 *pos++ = Lo8(tkey->tx_iv16); in rtllib_tkip_encrypt()
142 static inline u8 Lo8(u16 val) in Lo8() function210 return Sbox[Lo8(v)] ^ ((t << 8) | (t >> 8)); in _S_()271 WEPSeed[2] = Lo8(IV16); in tkip_mixing_phase2()272 WEPSeed[3] = Lo8((PPK[5] ^ Mk16_le((__le16 *) & TK[0])) >> 1); in tkip_mixing_phase2()
365 #define Lo8(v16) ((u8)((v16) & 0x00FF)) macro375 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])548 rc4key[2] = Lo8(iv16); in phase2()549 rc4key[3] = Lo8((PPK[5] ^ TK16(0)) >> 1); in phase2()552 rc4key[4 + 2 * i] = Lo8(PPK[i]); in phase2()
257 #define Lo8(v16) ((u8)((v16) & 0x00FF)) macro267 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])445 rc4key[2] = Lo8(iv16); in phase2()446 rc4key[3] = Lo8((PPK[5] ^ TK16(0)) >> 1); in phase2()451 rc4key[4+2*i] = Lo8(PPK[i]); in phase2()