aboutsummaryrefslogtreecommitdiffstats
path: root/src/math
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-02-25 19:24:10 +0000
committerlloyd <[email protected]>2010-02-25 19:24:10 +0000
commitba0bc913020d1c4d6731b76bdac8fd5c52acd51d (patch)
treec711dc30d78ea9fc65e7a8a64606a40be50adcc7 /src/math
parent23c82b7a5a17ee39dc69159592a7d7e1e8d03740 (diff)
Hide PointGFp funcs set_z_to_one and get_z_to_one
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;
};