Lines Matching refs:j
13 unsigned int j; in add() local
16 for (j = 0;j < 31;++j) { u += a[j] + b[j]; out[j] = u & 255; u >>= 8; } in add()
22 unsigned int j; in sub() local
25 for (j = 0;j < 31;++j) { in sub()
26 u += a[j] + 65280 - b[j]; in sub()
27 out[j] = u & 255; in sub()
36 unsigned int j; in squeeze() local
39 for (j = 0;j < 31;++j) { u += a[j]; a[j] = u & 255; u >>= 8; } in squeeze()
42 for (j = 0;j < 31;++j) { u += a[j]; a[j] = u & 255; u >>= 8; } in squeeze()
53 unsigned int j; in freeze() local
56 for (j = 0;j < 32;++j) aorig[j] = a[j]; in freeze()
59 for (j = 0;j < 32;++j) a[j] ^= negative & (aorig[j] ^ a[j]); in freeze()
65 unsigned int j; in mult() local
70 for (j = 0;j <= i;++j) u += a[j] * b[i - j]; in mult()
71 for (j = i + 1;j < 32;++j) u += 38 * a[j] * b[i + 32 - j]; in mult()
79 unsigned int j; in mult121665() local
83 for (j = 0;j < 31;++j) { u += 121665 * a[j]; out[j] = u & 255; u >>= 8; } in mult121665()
86 for (j = 0;j < 31;++j) { u += out[j]; out[j] = u & 255; u >>= 8; } in mult121665()
87 u += out[j]; out[j] = u; in mult121665()
93 unsigned int j; in square() local
98 for (j = 0;j < i - j;++j) u += a[j] * a[i - j]; in square()
99 for (j = i + 1;j < i + 32 - j;++j) u += 38 * a[j] * a[i + 32 - j]; in square()
112 unsigned int j; in select() local
117 for (j = 0;j < 64;++j) { in select()
118 t = bminus1 & (r[j] ^ s[j]); in select()
119 p[j] = s[j] ^ t; in select()
120 q[j] = r[j] ^ t; in select()
141 unsigned int j; in mainloop() local
145 for (j = 0;j < 32;++j) xzm1[j] = work[j]; in mainloop()
147 for (j = 33;j < 64;++j) xzm1[j] = 0; in mainloop()
150 for (j = 1;j < 64;++j) xzm[j] = 0; in mainloop()
177 for (j = 0;j < 64;++j) work[j] = xzm[j]; in mainloop()