aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-07-27 15:34:23 -0400
committerJack Lloyd <[email protected]>2019-07-27 15:34:23 -0400
commitfdf9970f921bf6b3e99c2a99ebc251b6e5dd760e (patch)
tree14a52317a27e5ac58082268155ca7610636ec2b6
parent94ffe5e4df60a397cc7e95fed9b5c2836afd1b87 (diff)
Move decl of blinding bits into the source file
Only used in this one place.
-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: