aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ec_group/point_mul.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/ec_group/point_mul.h')
-rw-r--r--src/lib/pubkey/ec_group/point_mul.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/pubkey/ec_group/point_mul.h b/src/lib/pubkey/ec_group/point_mul.h
index dbaae2995..019e483a1 100644
--- a/src/lib/pubkey/ec_group/point_mul.h
+++ b/src/lib/pubkey/ec_group/point_mul.h
@@ -29,6 +29,9 @@ class PointGFp_Base_Point_Precompute final
const PointGFp& m_base_point;
const Modular_Reducer& m_mod_order;
+ enum { WINDOW_BITS = 3 };
+ enum { WINDOW_SIZE = (1 << WINDOW_BITS) - 1 };
+
const size_t m_p_words;
const size_t m_T_size;