ta/wallet_ta.c
/**
  * Convert a point from affine coordinates to Jacobian coordinates. This
  * is very fast. It is to be used
  * internally (only by the functions of the TA itself).
  * \param out The destination point (in Jacobian coordinates).
  * \param in The source point (in affine coordinates).
  */
Convert a point from affine coordinates to Jacobian coordinates. This
is very fast. It is to be used
internally (only by the functions of the TA itself).
\param out The destination point (in Jacobian coordinates).
\param in The source point (in affine coordinates).
Convert a point from affine coordinates to Jacobian coordinates . This is very fast . It is to be used internally ( only by the functions of the TA itself ) . \ param out The destination point ( in Jacobian coordinates ) . \ param in The source point ( in affine coordinates ) .
static void affine_to_jacobian_internal(PointJacobian *out, PointAffine *in)
{
	out->is_point_at_infinity = in->is_point_at_infinity;
	big_assign_internal(out->x, in->x);
	big_assign_internal(out->y, in->y);
	big_set_zero_internal(out->z);
	out->z[0] = 1;
}
static void affine_to_jacobian_internal ( PointJacobian * out , PointAffine * in ) { out -> is_point_at_infinity = in -> is_point_at_infinity ; big_assign_internal ( out -> x , in -> x ) ; big_assign_internal ( out -> y , in -> y ) ; big_set_zero_internal ( out -> z ) ; out -> z [ 0 ] = 1 ; }
Convert a point from affine coordinates to Jacobian coordinates.
Convert a point from affine coordinates to Jacobian coordinates .
/*
	* If out->is_point_at_infinity != 0, the rest of this function consists
	* of dummy operations
	*/