Lines Matching refs:x1
140 register RC2_INT x0,x1,x2,x3,t; in RC2_encrypt() local
145 x1=(RC2_INT)(l>>16L); in RC2_encrypt()
156 t=(x0+(x1& ~x3)+(x2&x3)+ *(p0++))&0xffff; in RC2_encrypt()
158 t=(x1+(x2& ~x0)+(x3&x0)+ *(p0++))&0xffff; in RC2_encrypt()
159 x1=(t<<2)|(t>>14); 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()
171 x1+=p1[x0&0x3f]; in RC2_encrypt()
172 x2+=p1[x1&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
190 x1=(RC2_INT)(l>>16L); 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()
206 t=((x1<<14)|(x1>>2))&0xffff; in RC2_decrypt()
207 x1=(t-(x2& ~x0)-(x3&x0)- *(p0--))&0xffff; in RC2_decrypt()
209 x0=(t-(x1& ~x3)-(x2&x3)- *(p0--))&0xffff; in RC2_decrypt()
217 x2=(x2-p1[x1&0x3f])&0xffff; in RC2_decrypt()
218 x1=(x1-p1[x0&0x3f])&0xffff; in RC2_decrypt()
223 d[0]=(unsigned long)(x0&0xffff)|((unsigned long)(x1&0xffff)<<16L); in RC2_decrypt()