aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJ08nY2025-08-11 15:51:30 +0200
committerJ08nY2025-08-11 15:51:30 +0200
commit02d1acd717bdfb713f1bce661cf16ee515519fcc (patch)
tree76cb9d60a027d5e74410949d6301d8e279f41679 /test
parent252a615887b590effbe374c591d7bcc4e408457b (diff)
downloadpyecsca-02d1acd717bdfb713f1bce661cf16ee515519fcc.tar.gz
pyecsca-02d1acd717bdfb713f1bce661cf16ee515519fcc.tar.zst
pyecsca-02d1acd717bdfb713f1bce661cf16ee515519fcc.zip
Diffstat (limited to 'test')
-rw-r--r--test/ec/test_configuration.py2
-rw-r--r--test/ec/test_mult.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/test/ec/test_configuration.py b/test/ec/test_configuration.py
index 01722c4..34a2a0d 100644
--- a/test/ec/test_configuration.py
+++ b/test/ec/test_configuration.py
@@ -33,7 +33,7 @@ def test_weierstrass_projective(base_independents):
coords = model.coordinates["projective"]
configs = list(all_configurations(model=model, coords=coords, **base_independents))
assert len(set(map(lambda cfg: cfg.scalarmult, configs))) == len(configs)
- assert len(configs) == 20960
+ assert len(configs) == 24800
def test_mult_class(base_independents):
diff --git a/test/ec/test_mult.py b/test/ec/test_mult.py
index 9617fa5..0876ec8 100644
--- a/test/ec/test_mult.py
+++ b/test/ec/test_mult.py
@@ -385,6 +385,7 @@ def test_basic_multipliers(secp128r1, num, add, dbl):
"always": (True, False),
"direction": tuple(ProcessingDirection),
"accumulation_order": tuple(AccumulationOrder),
+ "complete": (True, False),
}
bnafs = [
BinaryNAFMultiplier(
@@ -396,6 +397,7 @@ def test_basic_multipliers(secp128r1, num, add, dbl):
"precompute_negation": (True, False),
"width": (3, 5),
"accumulation_order": tuple(AccumulationOrder),
+ "complete": (True, False),
}
wnafs = [
WindowNAFMultiplier(