Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_tkip.c120 static inline u8 Lo8(u16 val) in Lo8() function
188 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()
/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib_crypt_tkip.c110 static inline u8 Lo8(u16 val) in Lo8() function
178 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()
/openbmc/linux/net/wireless/
H A Dlib80211_crypt_tkip.c142 static inline u8 Lo8(u16 val) in Lo8() function
210 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()
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_security.c365 #define Lo8(v16) ((u8)((v16) & 0x00FF)) macro
375 #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()
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_security.c257 #define Lo8(v16) ((u8)((v16) & 0x00FF)) macro
267 #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()