aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/numbertheory/point_gfp.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-15 16:39:10 +0000
committerlloyd <[email protected]>2010-03-15 16:39:10 +0000
commit65e5a8826f4240fd0b21ad99ab9daa9da862fc29 (patch)
tree615a95eb20c87b01f5427bc9fba7c87f8c4dfe04 /src/math/numbertheory/point_gfp.h
parentb44cd1b0e15da99561d6d1f1dfc927c5ee8d53ee (diff)
Use bigint_{mul,sqr} in PointGFp monty ops
Diffstat (limited to 'src/math/numbertheory/point_gfp.h')
-rw-r--r--src/math/numbertheory/point_gfp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/numbertheory/point_gfp.h b/src/math/numbertheory/point_gfp.h
index e4cf6f7d5..c7da6995c 100644
--- a/src/math/numbertheory/point_gfp.h
+++ b/src/math/numbertheory/point_gfp.h
@@ -145,7 +145,7 @@ class BOTAN_DLL PointGFp
{
public:
Workspace(u32bit p_words) :
- ws_monty(2*p_words+1), ws_bn(12) {}
+ ws_monty(2*(p_words+2)), ws_bn(12) {}
SecureVector<word> ws_monty;
std::vector<BigInt> ws_bn;