Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c113 static inline u8 Lo8(u16 val) in Lo8() function
188 return Sbox[Lo8(v)] ^ ((t << 8) | (t >> 8)); in _S_()
253 WEPSeed[2] = Lo8(IV16); in tkip_mixing_phase2()
254 WEPSeed[3] = Lo8((PPK[5] ^ Mk16_le((u16 *) &TK[0])) >> 1); in tkip_mixing_phase2()
305 *pos++ = Lo8(tkey->tx_iv16); in rtllib_tkip_encrypt()
/Linux-v5.10/drivers/staging/rtl8192u/ieee80211/
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()
/Linux-v5.10/net/wireless/
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()
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_security.c376 #define Lo8(v16) ((u8)((v16) & 0x00FF)) macro
386 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])
562 rc4key[2] = Lo8(iv16); in phase2()
563 rc4key[3] = Lo8((PPK[5] ^ TK16(0)) >> 1); in phase2()
567 rc4key[4 + 2 * i] = Lo8(PPK[i]); in phase2()
/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_security.c365 #define Lo8(v16) ((u8)((v16) & 0x00FF)) macro
375 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])
549 rc4key[2] = Lo8(iv16); in phase2()
550 rc4key[3] = Lo8((PPK[5] ^ TK16(0)) >> 1); in phase2()
553 rc4key[4 + 2 * i] = Lo8(PPK[i]); in phase2()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_security.c448 #define Lo8(v16) ((u8)((v16) & 0x00FF)) macro
458 #define _S_(v16) (Sbox1[0][Lo8(v16)] ^ Sbox1[1][Hi8(v16)])
641 rc4key[2] = Lo8(iv16); in phase2()
642 rc4key[3] = Lo8((PPK[5] ^ TK16(0)) >> 1); in phase2()
647 rc4key[4+2*i] = Lo8(PPK[i]); in phase2()