diff options
| author | J08nY | 2025-10-03 13:29:17 +0200 |
|---|---|---|
| committer | J08nY | 2025-10-03 13:29:17 +0200 |
| commit | 4382db8c501b9b9a39ff67d33ce79bd16dbf5747 (patch) | |
| tree | aa661ae0615247a12692289af5c8ccc72ad0c546 /test/ec/test_countermeasures.py | |
| parent | 2f869828b04fd1d7601d93799a2361ec81e0f4e2 (diff) | |
| download | pyecsca-4382db8c501b9b9a39ff67d33ce79bd16dbf5747.tar.gz pyecsca-4382db8c501b9b9a39ff67d33ce79bd16dbf5747.tar.zst pyecsca-4382db8c501b9b9a39ff67d33ce79bd16dbf5747.zip | |
Diffstat (limited to 'test/ec/test_countermeasures.py')
| -rw-r--r-- | test/ec/test_countermeasures.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
