Home | History | Annotate | Download | only in libtommath

Lines Matching full:x1y1

49   mp_int  x0, x1, y0, y1, t1, x0y0, x1y1;
76 if (mp_init_size (&x1y1, B * 2) != MP_OKAY)
118 /* now calc the products x0y0 and x1y1 */
121 goto X1Y1; /* x0y0 = x0*y0 */
122 if (mp_mul (&x1, &y1, &x1y1) != MP_OKAY)
123 goto X1Y1; /* x1y1 = x1*y1 */
127 goto X1Y1; /* t1 = x1 - x0 */
129 goto X1Y1; /* t2 = y1 - y0 */
131 goto X1Y1; /* t1 = (x1 + x0) * (y1 + y0) */
134 if (mp_add (&x0y0, &x1y1, &x0) != MP_OKAY)
135 goto X1Y1; /* t2 = x0y0 + x1y1 */
137 goto X1Y1; /* t1 = (x1+x0)*(y1+y0) - (x1y1 + x0y0) */
141 goto X1Y1; /* t1 = (x0y0 + x1y1 - (x1-x0)*(y1-y0))<<B */
142 if (mp_lshd (&x1y1, B * 2) != MP_OKAY)
143 goto X1Y1; /* x1y1 = x1y1 << 2*B */
146 goto X1Y1; /* t1 = x0y0 + t1 */
147 if (mp_add (&t1, &x1y1, c) != MP_OKAY)
148 goto X1Y1; /* t1 = x0y0 + t1 + x1y1 */
153 X1Y1:mp_clear (&x1y1);