Home | History | Annotate | Download | only in libmincrypt

Lines Matching defs:x2

834 /* point_add_mixed sets {x_out,y_out,z_out} = {x1,y1,z1} + {x2,y2,1}.
843 const felem x2, const felem y2) {
849 felem_mul(u2, x2, z1z1);
873 /* point_add sets {x_out,y_out,z_out} = {x1,y1,z1} + {x2,y2,z2}.
880 const felem y1, const felem z1, const felem x2,
896 felem_mul(u2, x2, z1z1);
921 * {x2,y2,z2}.
925 * This function handles the case where {x1,y1,z1}={x2,y2,z2}. */
928 const felem z1, const felem x2, const felem y2, const felem z2) {
944 felem_mul(u2, x2, z1z1);
1248 felem x1, y1, z1, x2, y2, z2, px, py;
1260 scalar_mult(x2, y2, z2, px, py, n2);
1263 /* If n2 == 0, then {x2,y2,z2} is zero and the result is just
1267 * {x2,y2,z2}. */
1268 memcpy(x1, x2, sizeof(x2));
1272 /* This function handles the case where {x1,y1,z1} == {x2,y2,z2}. */
1273 point_add_or_double_vartime(x1, y1, z1, x1, y1, z1, x2, y2, z2);