aboutsummaryrefslogtreecommitdiffstats
path: root/src/math
diff options
context:
space:
mode:
Diffstat (limited to 'src/math')
-rw-r--r--src/math/gfpmath/point_gfp.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/math/gfpmath/point_gfp.h b/src/math/gfpmath/point_gfp.h
index f6cbe06b8..87cc0a3d7 100644
--- a/src/math/gfpmath/point_gfp.h
+++ b/src/math/gfpmath/point_gfp.h
@@ -105,21 +105,6 @@ class BOTAN_DLL PointGFp
PointGFp& mult2_in_place();
/**
- * Set z coordinate to one.
- * @return *this
- */
- const PointGFp& set_z_to_one();
-
- /**
- * Return a point
- * where the coordinates are transformed
- * so that z equals one,
- * thus x and y have just the affine values.
- * @result *this
- */
- PointGFp get_z_to_one();
-
- /**
* Return base curve of this point
* @result the curve over GF(p) of this point
*/
@@ -180,6 +165,21 @@ class BOTAN_DLL PointGFp
*/
bool operator==(const PointGFp& other) const;
private:
+ /**
+ * Set z coordinate to one.
+ * @return *this
+ */
+ const PointGFp& set_z_to_one();
+
+ /**
+ * Return a point
+ * where the coordinates are transformed
+ * so that z equals one,
+ * thus x and y have just the affine values.
+ * @result *this
+ */
+ PointGFp get_z_to_one();
+
CurveGFp curve;
BigInt coord_x, coord_y, coord_z;
};