aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ec_group
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/ec_group')
-rw-r--r--src/lib/pubkey/ec_group/point_mul.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/ec_group/point_mul.cpp b/src/lib/pubkey/ec_group/point_mul.cpp
index 17087a6ed..c6014f81d 100644
--- a/src/lib/pubkey/ec_group/point_mul.cpp
+++ b/src/lib/pubkey/ec_group/point_mul.cpp
@@ -43,7 +43,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().size()),
+ m_p_words(base.get_curve().get_p().sig_words()),
m_T_size(base.get_curve().get_p().bits() + PointGFp_SCALAR_BLINDING_BITS + 1)
{
std::vector<BigInt> ws(PointGFp::WORKSPACE_SIZE);