From b3d4e400a81950a87aa866726f9d2d5d97a1f92e Mon Sep 17 00:00:00 2001 From: J08nY Date: Wed, 19 Mar 2025 15:07:06 +0100 Subject: Add "always" Comb multiplier that adds random multiples to dummy. --- test/ec/test_mult.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/ec/test_mult.py b/test/ec/test_mult.py index e915585..07ddcdf 100644 --- a/test/ec/test_mult.py +++ b/test/ec/test_mult.py @@ -461,7 +461,11 @@ def test_basic_multipliers(secp128r1, num, add, dbl): ) for combination in product(*bgmw_options.values()) ] - comb_options = {"width": (2, 3, 4, 5), "accumulation_order": tuple(AccumulationOrder)} + comb_options = { + "width": (2, 3, 4, 5), + "accumulation_order": tuple(AccumulationOrder), + "always": (True, False), + } combs = [ CombMultiplier( add, dbl, scl=scale, **dict(zip(comb_options.keys(), combination)) -- cgit v1.2.3-70-g09d2