Home | History | Annotate | Download | only in ec

Lines Matching defs:x_out

981  * Outputs can equal corresponding inputs, i.e., x_out == x_in is allowed.
982 * while x_out == y_in is not (maybe this works, but it's not tested). */
983 static void point_double(felem x_out, felem y_out, felem z_out,
1024 felem_reduce(x_out, tmp);
1028 felem_diff(x_out, ftmp);
1029 /* x_out[i] < 2^105 + 2^101 < 2^106 */
1045 felem_diff_zero107(beta, x_out);
1061 static void point_double_small(smallfelem x_out, smallfelem y_out,
1072 felem_shrink(x_out, felem_x_out);
1109 felem ftmp, ftmp2, ftmp3, ftmp4, ftmp5, ftmp6, x_out, y_out, z_out;
1230 /* x_out = r**2 - J - 2V */
1232 felem_reduce(x_out, tmp);
1237 felem_diff(x_out, ftmp4);
1238 /* x_out[i] < 2^105 + 2^101 */
1240 /* y_out = r(V-x_out) - 2 * s1 * J */
1241 felem_diff_zero107(ftmp3, x_out);
1252 copy_small_conditional(x_out, x2, z1_is_zero);
1253 copy_conditional(x_out, x1, z2_is_zero);
1258 felem_assign(x3, x_out);
1504 * Output point (X, Y, Z) is stored in x_out, y_out, z_out. */
1505 static void batch_mul(felem x_out, felem y_out, felem z_out,
1596 felem_assign(x_out, nq[0]);
1660 smallfelem x_out, y_out;
1678 felem_contract(x_out, x_in);
1679 if (x != NULL && !smallfelem_to_BN(x, x_out)) {
1734 felem x_out, y_out, z_out;
1830 if (!BN_to_felem(x_out, &p->X) ||
1835 felem_shrink(pre_comp[i][1][0], x_out);
1875 batch_mul(x_out, y_out, z_out, (const felem_bytearray(*))secrets,
1880 batch_mul(x_out, y_out, z_out, (const felem_bytearray(*))secrets,
1886 felem_contract(x_in, x_out);