Lines Matching refs:ny
1043 /* scalar_base_mult sets {nx,ny,nz} = scalar*G where scalar is a little-endian
1046 static void scalar_base_mult(felem nx, felem ny, felem nz,
1056 memset(ny, 0, sizeof(felem));
1063 point_double(nx, ny, nz, nx, ny, nz);
1077 * {nx,ny,nz} != {px,py,1}, unless both are zero, which we handle
1079 point_add_mixed(tx, ty, tz, nx, ny, nz, px, py);
1080 /* The result of point_add_mixed is incorrect if {nx,ny,nz} is zero
1084 copy_conditional(ny, py, n_is_infinity_mask);
1089 * only copying from {tx,ty,tz} to {nx,ny,nz} if index != 0. */
1093 copy_conditional(ny, ty, mask);
1104 const felem ny, const felem nz) {
1110 felem_mul(y_out, ny, z_inv);
1113 /* scalar_base_mult sets {nx,ny,nz} = scalar*{x,y}. */
1114 static void scalar_mult(felem nx, felem ny, felem nz, const felem x,
1136 memset(ny, 0, sizeof(felem));
1143 point_double(nx, ny, nz, nx, ny, nz);
1144 point_double(nx, ny, nz, nx, ny, nz);
1145 point_double(nx, ny, nz, nx, ny, nz);
1146 point_double(nx, ny, nz, nx, ny, nz);
1156 point_add(tx, ty, tz, nx, ny, nz, px, py, pz);
1158 copy_conditional(ny, py, n_is_infinity_mask);
1165 copy_conditional(ny, ty, mask);