Lines Matching refs:x3
98 register RC2_INT x0, x1, x2, x3, t; in RC2_encrypt() local
106 x3 = (RC2_INT) (l >> 16L); 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()
119 t = (x3 + (x0 & ~x2) + (x1 & x2) + *(p0++)) & 0xffff; in RC2_encrypt()
120 x3 = (t << 5) | (t >> 11); in RC2_encrypt()
127 x0 += p1[x3 & 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
152 x3 = (RC2_INT) (l >> 16L); in RC2_decrypt()
160 t = ((x3 << 11) | (x3 >> 5)) & 0xffff; in RC2_decrypt()
161 x3 = (t - (x0 & ~x2) - (x1 & x2) - *(p0--)) & 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()
177 x0 = (x0 - p1[x3 & 0x3f]) & 0xffff; in RC2_decrypt()
184 (unsigned long)(x2 & 0xffff) | ((unsigned long)(x3 & 0xffff) << 16L); in RC2_decrypt()