Home | History | Annotate | Download | only in nvmectl

Lines Matching refs:X1

2097 	mp_int  x0, x1, y0, y1, t1, x0y0, x1y1;
2114 if (mp_init_size(&x1, a->used - B) != MP_OKAY) {
2118 goto X1;
2135 x1.used = a->used - B;
2155 tmpx = x1.dp;
2167 * upper words x1/y1 must have a known number of digits
2177 if (signed_multiply(&x1, &y1, &x1y1) != MP_OKAY) {
2178 goto X1Y1; /* x1y1 = x1*y1 */
2180 /* now calc x1+x0 and y1+y0 */
2181 if (basic_add(&x1, &x0, &t1) != MP_OKAY) {
2182 goto X1Y1; /* t1 = x1 - x0 */
2188 goto X1Y1; /* t1 = (x1 + x0) * (y1 + y0) */
2195 goto X1Y1; /* t1 = (x1+x0)*(y1+y0) - (x1y1 + x0y0) */
2199 goto X1Y1; /* t1 = (x0y0 + x1y1 - (x1-x0)*(y1-y0))<<B */
2223 X1:
2224 mp_clear(&x1);
2942 mp_int x0, x1, t1, t2, x0x0, x1x1;
2957 if (mp_init_size(&x1, a->used - B) != MP_OKAY) {
2962 goto X1;
2975 memcpy(x1.dp, &a->dp[B], (a->used - B) * sizeof(*x1.dp));
2978 x1.used = a->used - B;
2982 /* now calc the products x0*x0 and x1*x1 */
2986 if (square(&x1, &x1x1) != MP_OKAY) {
2987 goto X1X1; /* x1x1 = x1*x1 */
2989 /* now calc (x1+x0)**2 */
2990 if (basic_add(&x1, &x0, &t1) != MP_OKAY) {
2991 goto X1X1; /* t1 = x1 - x0 */
2994 goto X1X1; /* t1 = (x1 - x0) * (x1 - x0) */
3001 goto X1X1; /* t1 = (x1+x0)**2 - (x0x0 + x1x1) */
3005 goto X1X1; /* t1 = (x0x0 + x1x1 - (x1-x0)*(x1-x0))<<B */
3026 X1:
3027 mp_clear(&x1);
5640 rnd->dp[0] |= 0x1;