aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/pubkey/ec_group/point_mul.cpp6
-rw-r--r--src/lib/pubkey/ec_group/point_mul.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/pubkey/ec_group/point_mul.cpp b/src/lib/pubkey/ec_group/point_mul.cpp
index c7d8bc7ae..a7b77e3e8 100644
--- a/src/lib/pubkey/ec_group/point_mul.cpp
+++ b/src/lib/pubkey/ec_group/point_mul.cpp
@@ -12,6 +12,12 @@
namespace Botan {
+namespace {
+
+const size_t PointGFp_SCALAR_BLINDING_BITS = 80;
+
+}
+
PointGFp multi_exponentiate(const PointGFp& x, const BigInt& z1,
const PointGFp& y, const BigInt& z2)
{
diff --git a/src/lib/pubkey/ec_group/point_mul.h b/src/lib/pubkey/ec_group/point_mul.h
index 019e483a1..a501de293 100644
--- a/src/lib/pubkey/ec_group/point_mul.h
+++ b/src/lib/pubkey/ec_group/point_mul.h
@@ -13,8 +13,6 @@ namespace Botan {
class Modular_Reducer;
-static const size_t PointGFp_SCALAR_BLINDING_BITS = 80;
-
class PointGFp_Base_Point_Precompute final
{
public: