From 4382db8c501b9b9a39ff67d33ce79bd16dbf5747 Mon Sep 17 00:00:00 2001 From: J08nY Date: Fri, 3 Oct 2025 13:29:17 +0200 Subject: Fix add arg to ctrs. --- test/ec/test_countermeasures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/ec/test_countermeasures.py b/test/ec/test_countermeasures.py index 8365be0..62db0d4 100644 --- a/test/ec/test_countermeasures.py +++ b/test/ec/test_countermeasures.py @@ -281,12 +281,12 @@ def test_combination(scalar, one, two, secp128r1): add = mult.formulas["add"] if one in (AdditiveSplitting, EuclideanSplitting): - layer_one = one(mult, add) + layer_one = one(mult, add=add) else: layer_one = one(mult) if two in (AdditiveSplitting, EuclideanSplitting): - combo = two(layer_one, add) + combo = two(layer_one, add=add) else: combo = two(layer_one) combo.init(secp128r1, secp128r1.generator) -- cgit v1.2.3-70-g09d2