aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/ec_gfp/point_gfp.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-08-01 13:46:46 +0000
committerlloyd <[email protected]>2012-08-01 13:46:46 +0000
commitafaac2c3668f0a0fced85649651d3d2ee9101a67 (patch)
tree8e012510e22065832af086b3c70973fe0820c988 /src/math/ec_gfp/point_gfp.cpp
parent943c647e7d049a9b00261bbf34aa1443bca0ab02 (diff)
Rename the version of BigInt::data returning a mutable pointer
to BigInt::mutable_data. Update callers.
Diffstat (limited to 'src/math/ec_gfp/point_gfp.cpp')
-rw-r--r--src/math/ec_gfp/point_gfp.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/math/ec_gfp/point_gfp.cpp b/src/math/ec_gfp/point_gfp.cpp
index fd42ccd16..9cd5a2aaf 100644
--- a/src/math/ec_gfp/point_gfp.cpp
+++ b/src/math/ec_gfp/point_gfp.cpp
@@ -50,8 +50,7 @@ void PointGFp::monty_mult(BigInt& z, const BigInt& x, const BigInt& y) const
z.grow_to(output_size);
z.clear();
-
- bigint_monty_mul(z.data(), output_size,
+ bigint_monty_mul(z.mutable_data(), output_size,
x.data(), x.size(), x.sig_words(),
y.data(), y.size(), y.sig_words(),
p.data(), p_size, p_dash,
@@ -78,7 +77,7 @@ void PointGFp::monty_sqr(BigInt& z, const BigInt& x) const
z.grow_to(output_size);
z.clear();
- bigint_monty_sqr(z.data(), output_size,
+ bigint_monty_sqr(z.mutable_data(), output_size,
x.data(), x.size(), x.sig_words(),
p.data(), p_size, p_dash,
&ws[0]);