aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-03-01 06:15:40 -0500
committerJack Lloyd <[email protected]>2020-03-01 06:15:40 -0500
commitf34cfff2ec57c6a188e965107700f14350391fb6 (patch)
tree1c5fd535bfefd2293d40636b4c11c528c556fef0
parentc00669a2b01a963025c52f9303be3cb04c52eb90 (diff)
Remove unused member variable
-rw-r--r--src/lib/pubkey/ec_group/point_mul.cpp3
-rw-r--r--src/lib/pubkey/ec_group/point_mul.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/pubkey/ec_group/point_mul.cpp b/src/lib/pubkey/ec_group/point_mul.cpp
index a7b77e3e8..41d61d0e2 100644
--- a/src/lib/pubkey/ec_group/point_mul.cpp
+++ b/src/lib/pubkey/ec_group/point_mul.cpp
@@ -51,8 +51,7 @@ PointGFp_Base_Point_Precompute::PointGFp_Base_Point_Precompute(const PointGFp& b
const Modular_Reducer& mod_order) :
m_base_point(base),
m_mod_order(mod_order),
- m_p_words(base.get_curve().get_p().sig_words()),
- m_T_size(base.get_curve().get_p().bits() + PointGFp_SCALAR_BLINDING_BITS + 1)
+ m_p_words(base.get_curve().get_p().sig_words())
{
std::vector<BigInt> ws(PointGFp::WORKSPACE_SIZE);
diff --git a/src/lib/pubkey/ec_group/point_mul.h b/src/lib/pubkey/ec_group/point_mul.h
index a501de293..d503f4bee 100644
--- a/src/lib/pubkey/ec_group/point_mul.h
+++ b/src/lib/pubkey/ec_group/point_mul.h
@@ -31,7 +31,6 @@ class PointGFp_Base_Point_Precompute final
enum { WINDOW_SIZE = (1 << WINDOW_BITS) - 1 };
const size_t m_p_words;
- const size_t m_T_size;
/*
* This is a table of T_size * 3*p_word words