Home
last modified time | relevance | path

Searched refs:WEPSeed (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/net/wireless/
Dlib80211_crypt_tkip.c237 static void tkip_mixing_phase2(u8 * WEPSeed, const u8 * TK, const u16 * TTAK, in tkip_mixing_phase2() argument
242 u16 *PPK = (u16 *) & WEPSeed[4]; in tkip_mixing_phase2()
269 WEPSeed[0] = Hi8(IV16); in tkip_mixing_phase2()
270 WEPSeed[1] = (Hi8(IV16) | 0x20) & 0x7F; in tkip_mixing_phase2()
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-6.1.9/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c217 static void tkip_mixing_phase2(u8 *WEPSeed, const u8 *TK, const u16 *TTAK, in tkip_mixing_phase2() argument
223 u16 *PPK = (u16 *)&WEPSeed[4]; in tkip_mixing_phase2()
251 WEPSeed[0] = Hi8(IV16); in tkip_mixing_phase2()
252 WEPSeed[1] = (Hi8(IV16) | 0x20) & 0x7F; in tkip_mixing_phase2()
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()
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c217 static void tkip_mixing_phase2(u8 *WEPSeed, const u8 *TK, const u16 *TTAK, in tkip_mixing_phase2() argument
224 u16 *PPK = (u16 *)&WEPSeed[4]; in tkip_mixing_phase2()
253 WEPSeed[0] = Hi8(IV16); in tkip_mixing_phase2()
254 WEPSeed[1] = (Hi8(IV16) | 0x20) & 0x7F; in tkip_mixing_phase2()
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()