diff options
author | lloyd <[email protected]> | 2012-08-01 13:46:46 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-08-01 13:46:46 +0000 |
commit | afaac2c3668f0a0fced85649651d3d2ee9101a67 (patch) | |
tree | 8e012510e22065832af086b3c70973fe0820c988 /src/math/ec_gfp/point_gfp.cpp | |
parent | 943c647e7d049a9b00261bbf34aa1443bca0ab02 (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.cpp | 5 |
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]); |