Home | History | Annotate | Download | only in libtommath

Lines Matching refs:X1

49   mp_int  x0, x1, y0, y1, t1, x0y0, x1y1;
64 if (mp_init_size (&x1, a->used - B) != MP_OKAY)
67 goto X1;
81 x1.used = a->used - B;
101 tmpx = x1.dp;
113 * upper words x1/y1 must have a known number of digits
122 if (mp_mul (&x1, &y1, &x1y1) != MP_OKAY)
123 goto X1Y1; /* x1y1 = x1*y1 */
125 /* now calc x1+x0 and y1+y0 */
126 if (s_mp_add (&x1, &x0, &t1) != MP_OKAY)
127 goto X1Y1; /* t1 = x1 - x0 */
131 goto X1Y1; /* t1 = (x1 + x0) * (y1 + y0) */
137 goto X1Y1; /* t1 = (x1+x0)*(y1+y0) - (x1y1 + x0y0) */
141 goto X1Y1; /* t1 = (x0y0 + x1y1 - (x1-x0)*(y1-y0))<<B */
158 X1:mp_clear (&x1);