aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey')
-rw-r--r--src/lib/pubkey/ec_group/point_gfp.h2
-rw-r--r--src/lib/pubkey/ec_group/point_mul.cpp5
2 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/pubkey/ec_group/point_gfp.h b/src/lib/pubkey/ec_group/point_gfp.h
index 71701d587..56844a26f 100644
--- a/src/lib/pubkey/ec_group/point_gfp.h
+++ b/src/lib/pubkey/ec_group/point_gfp.h
@@ -309,6 +309,8 @@ class BOTAN_PUBLIC_API(2,0) BOTAN_DEPRECATED("See comments") Blinded_Point_Multi
public:
Blinded_Point_Multiply(const PointGFp& base, const BigInt& order, size_t h = 0);
+ ~Blinded_Point_Multiply();
+
PointGFp blinded_multiply(const BigInt& scalar, RandomNumberGenerator& rng);
private:
std::vector<BigInt> m_ws;
diff --git a/src/lib/pubkey/ec_group/point_mul.cpp b/src/lib/pubkey/ec_group/point_mul.cpp
index 556a05eb0..2a63a8221 100644
--- a/src/lib/pubkey/ec_group/point_mul.cpp
+++ b/src/lib/pubkey/ec_group/point_mul.cpp
@@ -20,6 +20,11 @@ Blinded_Point_Multiply::Blinded_Point_Multiply(const PointGFp& base,
m_point_mul.reset(new PointGFp_Var_Point_Precompute(base));
}
+Blinded_Point_Multiply::~Blinded_Point_Multiply()
+ {
+ /* for ~unique_ptr */
+ }
+
PointGFp Blinded_Point_Multiply::blinded_multiply(const BigInt& scalar,
RandomNumberGenerator& rng)
{