aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/gfpmath/point_gfp.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-02-24 21:34:50 +0000
committerlloyd <[email protected]>2010-02-24 21:34:50 +0000
commit9efa59d4322babc444601052aa79f7b3fe304fd6 (patch)
tree720fdac9668ef4313af82d7f0f4bdecd15c73b0e /src/math/gfpmath/point_gfp.h
parentb06a941a98f49172b203914810483589cf86cc76 (diff)
Remove the montgomery optimizations from GFpElement entirely.
This makes things even slower than they were before, but will make refactoring easier. And most of the montgomery code there was duplicates of other code that already existed in the codebase. Anything useful can be pulled back out from history later if needed.
Diffstat (limited to 'src/math/gfpmath/point_gfp.h')
-rw-r--r--src/math/gfpmath/point_gfp.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/math/gfpmath/point_gfp.h b/src/math/gfpmath/point_gfp.h
index 08de259af..e413e2311 100644
--- a/src/math/gfpmath/point_gfp.h
+++ b/src/math/gfpmath/point_gfp.h
@@ -114,14 +114,6 @@ class BOTAN_DLL PointGFp
const PointGFp& set_z_to_one() const;
/**
- * Turn on the special reduction multiplication (i.e. the
- * Montgomery multiplication in the current implementation) for
- * the coordinates. This enables fast execution of mult2_in_place()
- * and operator+=().
- */
- void turn_on_sp_red_mul() const;
-
- /**
* Return a point
* where the coordinates are transformed
* so that z equals one,