diff options
author | Jack Lloyd <[email protected]> | 2018-06-20 18:47:00 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-06-20 18:47:00 -0400 |
commit | 4288e3be60ed1af49f9295252a7ca086b1d7ef4a (patch) | |
tree | a90140f7d5c783d726a6fe20b991b2c44e2c1bf5 /src/lib/pubkey/ec_group/ec_group.cpp | |
parent | 9fe8f70e8f028b20788d79ccabf943818d6339f0 (diff) |
Changes to allow masked lookups for variable point mult
Diffstat (limited to 'src/lib/pubkey/ec_group/ec_group.cpp')
-rw-r--r-- | src/lib/pubkey/ec_group/ec_group.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/pubkey/ec_group/ec_group.cpp b/src/lib/pubkey/ec_group/ec_group.cpp index 2dfcdc0d9..c859fc2fc 100644 --- a/src/lib/pubkey/ec_group/ec_group.cpp +++ b/src/lib/pubkey/ec_group/ec_group.cpp @@ -557,8 +557,7 @@ PointGFp EC_Group::blinded_var_point_multiply(const PointGFp& point, RandomNumberGenerator& rng, std::vector<BigInt>& ws) const { - PointGFp_Var_Point_Precompute mul(point); - mul.randomize_repr(rng, ws); + PointGFp_Var_Point_Precompute mul(point, rng, ws); return mul.mul(k, rng, get_order(), ws); } |