Home
last modified time | relevance | path

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

/linux-6.1.9/net/wireless/
Dlib80211_crypt_tkip.c137 static inline u16 RotR1(u16 val) in RotR1() function
260 PPK[0] += RotR1(PPK[5] ^ Mk16_le((__le16 *) & TK[12])); in tkip_mixing_phase2()
261 PPK[1] += RotR1(PPK[0] ^ Mk16_le((__le16 *) & TK[14])); in tkip_mixing_phase2()
262 PPK[2] += RotR1(PPK[1]); in tkip_mixing_phase2()
263 PPK[3] += RotR1(PPK[2]); in tkip_mixing_phase2()
264 PPK[4] += RotR1(PPK[3]); in tkip_mixing_phase2()
265 PPK[5] += RotR1(PPK[4]); in tkip_mixing_phase2()
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c107 static inline u16 RotR1(u16 val) in RotR1() function
241 PPK[0] += RotR1(PPK[5] ^ Mk16_le((u16 *)&TK[12])); in tkip_mixing_phase2()
242 PPK[1] += RotR1(PPK[0] ^ Mk16_le((u16 *)&TK[14])); in tkip_mixing_phase2()
243 PPK[2] += RotR1(PPK[1]); in tkip_mixing_phase2()
244 PPK[3] += RotR1(PPK[2]); in tkip_mixing_phase2()
245 PPK[4] += RotR1(PPK[3]); in tkip_mixing_phase2()
246 PPK[5] += RotR1(PPK[4]); in tkip_mixing_phase2()
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c114 static inline u16 RotR1(u16 val) in RotR1() function
242 PPK[0] += RotR1(PPK[5] ^ le16_to_cpu(*(__le16 *)(&TK[12]))); in tkip_mixing_phase2()
243 PPK[1] += RotR1(PPK[0] ^ le16_to_cpu(*(__le16 *)(&TK[14]))); in tkip_mixing_phase2()
244 PPK[2] += RotR1(PPK[1]); in tkip_mixing_phase2()
245 PPK[3] += RotR1(PPK[2]); in tkip_mixing_phase2()
246 PPK[4] += RotR1(PPK[3]); in tkip_mixing_phase2()
247 PPK[5] += RotR1(PPK[4]); in tkip_mixing_phase2()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_security.c237 #define RotR1(v16) ((((v16) >> 1) & 0x7FFF) ^ (((v16) & 1) << 15)) macro
413 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()
414 PPK[1] += RotR1(PPK[0] ^ TK16(7)); /* Use all of TK[] in Phase2 */ in phase2()
415 PPK[2] += RotR1(PPK[1]); in phase2()
416 PPK[3] += RotR1(PPK[2]); in phase2()
417 PPK[4] += RotR1(PPK[3]); in phase2()
418 PPK[5] += RotR1(PPK[4]); in phase2()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_security.c256 #define RotR1(v16) ((((v16) >> 1) & 0x7FFF) ^ (((v16) & 1) << 15)) macro
431 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()
432 PPK[1] += RotR1(PPK[0] ^ TK16(7)); /* Use all of TK[] in Phase2 */ in phase2()
433 PPK[2] += RotR1(PPK[1]); in phase2()
434 PPK[3] += RotR1(PPK[2]); in phase2()
435 PPK[4] += RotR1(PPK[3]); in phase2()
436 PPK[5] += RotR1(PPK[4]); in phase2()
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_security.c364 #define RotR1(v16) ((((v16) >> 1) & 0x7FFF) ^ (((v16) & 1) << 15)) macro
535 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()
536 PPK[1] += RotR1(PPK[0] ^ TK16(7)); /* Use all of TK[] in Phase2 */ in phase2()
537 PPK[2] += RotR1(PPK[1]); in phase2()
538 PPK[3] += RotR1(PPK[2]); in phase2()
539 PPK[4] += RotR1(PPK[3]); in phase2()
540 PPK[5] += RotR1(PPK[4]); in phase2()