Lines Matching refs:x0
140 register RC2_INT x0,x1,x2,x3,t; in RC2_encrypt() local
144 x0=(RC2_INT)l&0xffff; in RC2_encrypt()
156 t=(x0+(x1& ~x3)+(x2&x3)+ *(p0++))&0xffff; in RC2_encrypt()
157 x0=(t<<1)|(t>>15); in RC2_encrypt()
158 t=(x1+(x2& ~x0)+(x3&x0)+ *(p0++))&0xffff; in RC2_encrypt()
160 t=(x2+(x3& ~x1)+(x0&x1)+ *(p0++))&0xffff; in RC2_encrypt()
162 t=(x3+(x0& ~x2)+(x1&x2)+ *(p0++))&0xffff; in RC2_encrypt()
170 x0+=p1[x3&0x3f]; in RC2_encrypt()
171 x1+=p1[x0&0x3f]; in RC2_encrypt()
177 d[0]=(unsigned long)(x0&0xffff)|((unsigned long)(x1&0xffff)<<16L); in RC2_encrypt()
185 register RC2_INT x0,x1,x2,x3,t; in RC2_decrypt() local
189 x0=(RC2_INT)l&0xffff; in RC2_decrypt()
203 x3=(t-(x0& ~x2)-(x1&x2)- *(p0--))&0xffff; in RC2_decrypt()
205 x2=(t-(x3& ~x1)-(x0&x1)- *(p0--))&0xffff; in RC2_decrypt()
207 x1=(t-(x2& ~x0)-(x3&x0)- *(p0--))&0xffff; in RC2_decrypt()
208 t=((x0<<15)|(x0>>1))&0xffff; in RC2_decrypt()
209 x0=(t-(x1& ~x3)-(x2&x3)- *(p0--))&0xffff; in RC2_decrypt()
218 x1=(x1-p1[x0&0x3f])&0xffff; in RC2_decrypt()
219 x0=(x0-p1[x3&0x3f])&0xffff; in RC2_decrypt()
223 d[0]=(unsigned long)(x0&0xffff)|((unsigned long)(x1&0xffff)<<16L); in RC2_decrypt()