Lines Matching refs:right
27 inline void IPERM(word32 &left, word32 &right)
31 work = ((left >> 4) ^ right) & 0x0f0f0f0f;
32 right ^= work;
34 work = ((left >> 16) ^ right) & 0xffff;
35 right ^= work;
37 work = ((right >> 2) ^ left) & 0x33333333;
39 right ^= (work << 2);
40 work = ((right >> 8) ^ left) & 0xff00ff;
42 right ^= (work << 8);
43 right = rotl(right, 1);
44 work = (left ^ right) & 0xaaaaaaaa;
46 right ^= work;
49 inline void FPERM(word32 &left, word32 &right)
53 right = rotr(right, 1);
54 work = (left ^ right) & 0xaaaaaaaa;
56 right ^= work;
58 work = ((left >> 8) ^ right) & 0xff00ff;
59 right ^= work;
61 work = ((left >> 2) ^ right) & 0x33333333;
62 right ^= work;
64 work = ((right >> 16) ^ left) & 0xffff;
66 right ^= work << 16;
67 work = ((right >> 4) ^ left) & 0x0f0f0f0f;
69 right ^= work << 4;
76 static inline void IPERM(word32 &left, word32 &right)
80 right = rotlFixed(right, 4U);
81 work = (left ^ right) & 0xf0f0f0f0;
83 right = rotrFixed(right^work, 20U);
84 work = (left ^ right) & 0xffff0000;
86 right = rotrFixed(right^work, 18U);
87 work = (left ^ right) & 0x33333333;
89 right = rotrFixed(right^work, 6U);
90 work = (left ^ right) & 0x00ff00ff;
92 right = rotlFixed(right^work, 9U);
93 work = (left ^ right) & 0xaaaaaaaa;
95 right ^= work;
98 static inline void FPERM(word32 &left, word32 &right)
102 right = rotrFixed(right, 1U);
103 work = (left ^ right) & 0xaaaaaaaa;
104 right ^= work;
106 work = (left ^ right) & 0x00ff00ff;
107 right ^= work;
109 work = (left ^ right) & 0x33333333;
110 right ^= work;
112 work = (left ^ right) & 0xffff0000;
113 right ^= work;
115 work = (left ^ right) & 0xf0f0f0f0;
116 right ^= work;
292 for (j=0; j<56; j++) /* rotate pc1 the right amount */
294 /* rotate left and right halves independently */