Lines Matching defs:x_out
912 * Outputs can equal corresponding inputs, i.e., x_out == x_in is allowed.
913 * while x_out == y_in is not (maybe this works, but it's not tested). */
914 static void point_double(felem x_out, felem y_out, felem z_out,
955 felem_reduce(x_out, tmp);
959 felem_diff(x_out, ftmp);
960 /* x_out[i] < 2^105 + 2^101 < 2^106 */
976 felem_diff_zero107(beta, x_out);
992 static void point_double_small(smallfelem x_out, smallfelem y_out,
1003 felem_shrink(x_out, felem_x_out);
1038 felem ftmp, ftmp2, ftmp3, ftmp4, ftmp5, ftmp6, x_out, y_out, z_out;
1159 /* x_out = r**2 - J - 2V */
1161 felem_reduce(x_out, tmp);
1166 felem_diff(x_out, ftmp4);
1167 /* x_out[i] < 2^105 + 2^101 */
1169 /* y_out = r(V-x_out) - 2 * s1 * J */
1170 felem_diff_zero107(ftmp3, x_out);
1181 copy_small_conditional(x_out, x2, z1_is_zero);
1182 copy_conditional(x_out, x1, z2_is_zero);
1187 felem_assign(x3, x_out);
1433 * Output point (X, Y, Z) is stored in x_out, y_out, z_out. */
1434 static void batch_mul(felem x_out, felem y_out, felem z_out, const u8 *p_scalar,
1520 felem_assign(x_out, nq[0]);
1537 smallfelem x_out, y_out;
1556 felem_contract(x_out, x_in);
1557 if (!smallfelem_to_BN(x, x_out)) {
1588 felem x_out, y_out, z_out;
1624 if (!BN_to_felem(x_out, &p->X) ||
1629 felem_shrink(p_pre_comp[1][0], x_out);
1665 batch_mul(x_out, y_out, z_out,
1671 felem_contract(x_in, x_out);