diff options
author | Jack Lloyd <[email protected]> | 2018-06-20 20:47:18 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-06-20 20:47:18 -0400 |
commit | d10a630d550abf99ac5cb766d349c7bc0f80ca45 (patch) | |
tree | b7683405e1f64b4d3ecc73e5d8f2a4a13db95a8d /src/lib/pubkey | |
parent | cae2d0f3b80483b4d1318afade42a466b63f33e0 (diff) |
Avoid an unncecessary malloc
Diffstat (limited to 'src/lib/pubkey')
-rw-r--r-- | src/lib/pubkey/ec_group/point_mul.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/ec_group/point_mul.cpp b/src/lib/pubkey/ec_group/point_mul.cpp index d8086df7f..dc83730c9 100644 --- a/src/lib/pubkey/ec_group/point_mul.cpp +++ b/src/lib/pubkey/ec_group/point_mul.cpp @@ -271,7 +271,7 @@ PointGFp PointGFp_Var_Point_Precompute::mul(const BigInt& k, is zero, and we cannot effectively randomize the point representation of the zero point. */ - R.randomize_repr(rng); + R.randomize_repr(rng, ws[0].get_word_vector()); } while(windows) |