diff options
Diffstat (limited to 'src/math/numbertheory/point_gfp.h')
-rw-r--r-- | src/math/numbertheory/point_gfp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/numbertheory/point_gfp.h b/src/math/numbertheory/point_gfp.h index 4ed8df160..e4cf6f7d5 100644 --- a/src/math/numbertheory/point_gfp.h +++ b/src/math/numbertheory/point_gfp.h @@ -161,6 +161,14 @@ class BOTAN_DLL PointGFp MemoryRegion<word>& workspace); /** + * Montgomery squaring/reduction + * @param x multiplicand + * @param workspace temp space + */ + BigInt monty_sqr(const BigInt& x, + MemoryRegion<word>& workspace); + + /** * Point addition */ void add(const PointGFp& other, Workspace& workspace); |