Home
last modified time | relevance | path

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

/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()
/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()
/drivers/staging/rtl8188eu/core/
Drtw_security.c375 #define RotR1(v16) ((((v16) >> 1) & 0x7FFF) ^ (((v16) & 1) << 15)) macro
548 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()
549 PPK[1] += RotR1(PPK[0] ^ TK16(7)); /* Use all of TK[] in Phase2 */ in phase2()
550 PPK[2] += RotR1(PPK[1]); in phase2()
551 PPK[3] += RotR1(PPK[2]); in phase2()
552 PPK[4] += RotR1(PPK[3]); in phase2()
553 PPK[5] += RotR1(PPK[4]); in phase2()
/drivers/staging/rtl8712/
Drtl871x_security.c364 #define RotR1(v16) ((((v16) >> 1) & 0x7FFF) ^ (((v16) & 1) << 15)) macro
536 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()
537 PPK[1] += RotR1(PPK[0] ^ TK16(7)); /* Use all of TK[] in Phase2 */ in phase2()
538 PPK[2] += RotR1(PPK[1]); in phase2()
539 PPK[3] += RotR1(PPK[2]); in phase2()
540 PPK[4] += RotR1(PPK[3]); in phase2()
541 PPK[5] += RotR1(PPK[4]); in phase2()
/drivers/staging/rtl8723bs/core/
Drtw_security.c447 #define RotR1(v16) ((((v16) >> 1) & 0x7FFF) ^ (((v16) & 1) << 15)) macro
627 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()
628 PPK[1] += RotR1(PPK[0] ^ TK16(7)); /* Use all of TK[] in Phase2 */ in phase2()
629 PPK[2] += RotR1(PPK[1]); in phase2()
630 PPK[3] += RotR1(PPK[2]); in phase2()
631 PPK[4] += RotR1(PPK[3]); in phase2()
632 PPK[5] += RotR1(PPK[4]); in phase2()