aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/numbertheory/point_gfp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/numbertheory/point_gfp.h')
-rw-r--r--src/math/numbertheory/point_gfp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/numbertheory/point_gfp.h b/src/math/numbertheory/point_gfp.h
index b994a4532..34f761cca 100644
--- a/src/math/numbertheory/point_gfp.h
+++ b/src/math/numbertheory/point_gfp.h
@@ -141,12 +141,20 @@ class BOTAN_DLL PointGFp
bool operator==(const PointGFp& other) const;
private:
/**
+ * Montgomery multiplication/reduction
+ */
+ BigInt monty_mult(const BigInt& x, const BigInt& y);
+
+ /**
* Point doubling
*/
void mult2();
CurveGFp curve;
BigInt coord_x, coord_y, coord_z;
+
+ // Values for Montgomery operations
+ BigInt r, r_inv, p_dash;
};
// relational operators