Home
last modified time | relevance | path

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

/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto_tkip.c623 #define Lo8(v16) ((byte)( (v16) & 0x00FF)) macro
633 #define _S_(v16) (Sbox[Lo8(v16)] ^ swap16(Sbox[Hi8(v16)]))
781 RC4KEY[2] = Lo8(IV16); in Phase2()
782 RC4KEY[3] = Lo8((PPK[5] ^ TK16(0)) >> 1); in Phase2()
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto_tkip.c521 static __inline u8 Lo8(u16 val) in Lo8() function
589 return Sbox[Lo8(v)] ^ ((t << 8) | (t >> 8)); in _S_()
653 WEPSeed[2] = Lo8(IV16); in tkip_mixing_phase2()
654 WEPSeed[3] = Lo8((PPK[5] ^ Mk16_le((const u16 *) &TK[0])) >> 1); in tkip_mixing_phase2()