Lines Matching defs:x0
4143 mp_int x0, x1, y0, y1, t1, x0y0, x1y1;
4156 if (mp_init_size (&x0, B) != MP_OKAY)
4159 goto X0;
4174 x0.used = y0.used = B;
4188 tmpx = x0.dp;
4209 mp_clamp (&x0);
4213 /* after this x0 is no longer required, free temp [x0==t2]! */
4214 if (mp_mul (&x0, &y0, &x0y0) != MP_OKAY)
4215 goto X1Y1; /* x0y0 = x0*y0 */
4219 /* now calc x1+x0 and y1+y0 */
4220 if (s_mp_add (&x1, &x0, &t1) != MP_OKAY)
4221 goto X1Y1; /* t1 = x1 - x0 */
4222 if (s_mp_add (&y1, &y0, &x0) != MP_OKAY)
4224 if (mp_mul (&t1, &x0, &t1) != MP_OKAY)
4225 goto X1Y1; /* t1 = (x1 + x0) * (y1 + y0) */
4228 if (mp_add (&x0y0, &x1y1, &x0) != MP_OKAY)
4230 if (s_mp_sub (&t1, &x0, &t1) != MP_OKAY)
4231 goto X1Y1; /* t1 = (x1+x0)*(y1+y0) - (x1y1 + x0y0) */
4235 goto X1Y1; /* t1 = (x0y0 + x1y1 - (x1-x0)*(y1-y0))<<B */
4253 X0:mp_clear (&x0);
4292 mp_int x0, x1, t1, t2, x0x0, x1x1;
4304 if (mp_init_size (&x0, B) != MP_OKAY)
4307 goto X0;
4326 dst = x0.dp;
4337 x0.used = B;
4340 mp_clamp (&x0);
4342 /* now calc the products x0*x0 and x1*x1 */
4343 if (mp_sqr (&x0, &x0x0) != MP_OKAY)
4344 goto X1X1; /* x0x0 = x0*x0 */
4348 /* now calc (x1+x0)**2 */
4349 if (s_mp_add (&x1, &x0, &t1) != MP_OKAY)
4350 goto X1X1; /* t1 = x1 - x0 */
4352 goto X1X1; /* t1 = (x1 - x0) * (x1 - x0) */
4358 goto X1X1; /* t1 = (x1+x0)**2 - (x0x0 + x1x1) */
4362 goto X1X1; /* t1 = (x0x0 + x1x1 - (x1-x0)*(x1-x0))<<B */
4378 X0:mp_clear (&x0);