aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/numbertheory/point_gfp.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-13 09:37:26 +0000
committerlloyd <[email protected]>2010-03-13 09:37:26 +0000
commit0dd2c107e4ed8ec3c207d1ae9e4ef21702f9d2ba (patch)
treec2de762f4a2040f9fe4cae69770113ad194816e0 /src/math/numbertheory/point_gfp.h
parent25f27853f11c7c676aab69a41640669193b346e9 (diff)
Save workspace for addition calls inside operator*=
Diffstat (limited to 'src/math/numbertheory/point_gfp.h')
-rw-r--r--src/math/numbertheory/point_gfp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/math/numbertheory/point_gfp.h b/src/math/numbertheory/point_gfp.h
index 0dbd5d319..eaebccf49 100644
--- a/src/math/numbertheory/point_gfp.h
+++ b/src/math/numbertheory/point_gfp.h
@@ -147,6 +147,11 @@ class BOTAN_DLL PointGFp
MemoryRegion<word>& workspace);
/**
+ * Point addition
+ */
+ void add(const PointGFp& other, MemoryRegion<word>& workspace);
+
+ /**
* Point doubling
*/
void mult2(MemoryRegion<word>& workspace);