Searched refs:RotR1 (Results 1 – 5 of 5) sorted by relevance
107 static inline u16 RotR1(u16 val) in RotR1() function241 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()
114 static inline u16 RotR1(u16 val) in RotR1() function242 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()
364 #define RotR1(v16) ((((v16) >> 1) & 0x7FFF) ^ (((v16) & 1) << 15)) macro536 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()
303 #define RotR1(v16) ((((v16) >> 1) & 0x7FFF) ^ (((v16) & 1) << 15)) macro479 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()
256 #define RotR1(v16) ((((v16) >> 1) & 0x7FFF) ^ (((v16) & 1) << 15)) macro431 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()