Home | History | Annotate | Download | only in libtommath

Lines Matching defs:x0

27   mp_int  x0, x1, t1, t2, x0x0, x1x1;
39 if (mp_init_size (&x0, B) != MP_OKAY)
42 goto X0;
61 dst = x0.dp;
72 x0.used = B;
75 mp_clamp (&x0);
77 /* now calc the products x0*x0 and x1*x1 */
78 if (mp_sqr (&x0, &x0x0) != MP_OKAY)
79 goto X1X1; /* x0x0 = x0*x0 */
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 */
113 X0:mp_clear (&x0);