Lines Matching refs:x2
98 register RC2_INT x0, x1, x2, x3, t; in RC2_encrypt() local
105 x2 = (RC2_INT) l & 0xffff; in RC2_encrypt()
113 t = (x0 + (x1 & ~x3) + (x2 & x3) + *(p0++)) & 0xffff; in RC2_encrypt()
115 t = (x1 + (x2 & ~x0) + (x3 & x0) + *(p0++)) & 0xffff; in RC2_encrypt()
117 t = (x2 + (x3 & ~x1) + (x0 & x1) + *(p0++)) & 0xffff; in RC2_encrypt()
118 x2 = (t << 3) | (t >> 13); in RC2_encrypt()
119 t = (x3 + (x0 & ~x2) + (x1 & x2) + *(p0++)) & 0xffff; in RC2_encrypt()
129 x2 += p1[x1 & 0x3f]; in RC2_encrypt()
130 x3 += p1[x2 & 0x3f]; in RC2_encrypt()
137 (unsigned long)(x2 & 0xffff) | ((unsigned long)(x3 & 0xffff) << 16L); in RC2_encrypt()
144 register RC2_INT x0, x1, x2, x3, t; in RC2_decrypt() local
151 x2 = (RC2_INT) l & 0xffff; in RC2_decrypt()
161 x3 = (t - (x0 & ~x2) - (x1 & x2) - *(p0--)) & 0xffff; in RC2_decrypt()
162 t = ((x2 << 13) | (x2 >> 3)) & 0xffff; in RC2_decrypt()
163 x2 = (t - (x3 & ~x1) - (x0 & x1) - *(p0--)) & 0xffff; in RC2_decrypt()
165 x1 = (t - (x2 & ~x0) - (x3 & x0) - *(p0--)) & 0xffff; in RC2_decrypt()
167 x0 = (t - (x1 & ~x3) - (x2 & x3) - *(p0--)) & 0xffff; in RC2_decrypt()
174 x3 = (x3 - p1[x2 & 0x3f]) & 0xffff; in RC2_decrypt()
175 x2 = (x2 - p1[x1 & 0x3f]) & 0xffff; in RC2_decrypt()
184 (unsigned long)(x2 & 0xffff) | ((unsigned long)(x3 & 0xffff) << 16L); in RC2_decrypt()