Home | History | Annotate | Download | only in libtommath

Lines Matching refs:x1

27   mp_int  x0, x1, t1, t2, x0x0, x1x1;
41 if (mp_init_size (&x1, a->used - B) != MP_OKAY)
46 goto X1;
66 dst = x1.dp;
73 x1.used = a->used - B;
77 /* now calc the products x0*x0 and x1*x1 */
80 if (mp_sqr (&x1, &x1x1) != MP_OKAY)
81 goto X1X1; /* x1x1 = x1*x1 */
83 /* now calc (x1+x0)**2 */
84 if (s_mp_add (&x1, &x0, &t1) != MP_OKAY)
85 goto X1X1; /* t1 = x1 - x0 */
87 goto X1X1; /* t1 = (x1 - x0) * (x1 - x0) */
93 goto X1X1; /* t1 = (x1+x0)**2 - (x0x0 + x1x1) */
97 goto X1X1; /* t1 = (x0x0 + x1x1 - (x1-x0)*(x1-x0))<<B */
112 X1:mp_clear (&x1);