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/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/r8188eu/core/
Drtw_security.c303 #define RotR1(v16) ((((v16) >> 1) & 0x7FFF) ^ (((v16) & 1) << 15)) macro
479 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()
480 PPK[1] += RotR1(PPK[0] ^ TK16(7)); /* Use all of TK[] in Phase2 */ in phase2()
481 PPK[2] += RotR1(PPK[1]); in phase2()
482 PPK[3] += RotR1(PPK[2]); in phase2()
483 PPK[4] += RotR1(PPK[3]); in phase2()
484 PPK[5] += RotR1(PPK[4]); in phase2()
/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()