aboutsummaryrefslogtreecommitdiff
path: root/test/sca
diff options
context:
space:
mode:
authorJ08nY2025-06-19 15:55:27 +0200
committerJ08nY2025-06-19 15:55:27 +0200
commit191de0d88f68a91b9658adacd20d0e0c01b9c9b8 (patch)
treea46e921201d7ca6bcac658170715c9d2de267e04 /test/sca
parentb244e5747258ad14e226a6f9df56ebc4be0f353b (diff)
downloadpyecsca-191de0d88f68a91b9658adacd20d0e0c01b9c9b8.tar.gz
pyecsca-191de0d88f68a91b9658adacd20d0e0c01b9c9b8.tar.zst
pyecsca-191de0d88f68a91b9658adacd20d0e0c01b9c9b8.zip
Diffstat (limited to 'test/sca')
-rw-r--r--test/sca/test_zvp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sca/test_zvp.py b/test/sca/test_zvp.py
index 6a06884..2097c7c 100644
--- a/test/sca/test_zvp.py
+++ b/test/sca/test_zvp.py
@@ -179,7 +179,7 @@ def test_zvp(secp128r1, formula):
)
with local(DefaultContext()) as ctx:
formula(secp128r1.curve.prime, *inputs, **secp128r1.curve.parameters)
- action = next(iter(ctx.actions.keys()))
+ action = ctx.actions[0].action
results = list(map(lambda o: int(o.value), action.op_results))
assert 0 in results