aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorJ08nY2024-01-18 14:12:12 +0100
committerJ08nY2024-01-18 14:12:12 +0100
commite586e5604a953ab53fefc7efea804e9fb43b28b3 (patch)
tree915da87566fdc1f9c121bcca130d153d242dcb2e /test
parentd2b52349753c1ed940abecbc6fe3f561fc2fd8fe (diff)
downloadpyecsca-e586e5604a953ab53fefc7efea804e9fb43b28b3.tar.gz
pyecsca-e586e5604a953ab53fefc7efea804e9fb43b28b3.tar.zst
pyecsca-e586e5604a953ab53fefc7efea804e9fb43b28b3.zip
Make tree building more general.
Diffstat (limited to 'test')
-rw-r--r--test/sca/test_rpa.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sca/test_rpa.py b/test/sca/test_rpa.py
index 39c281d..314bc4a 100644
--- a/test/sca/test_rpa.py
+++ b/test/sca/test_rpa.py
@@ -157,4 +157,4 @@ def test_distinguish(secp128r1, add, dbl, neg):
with redirect_stdout(io.StringIO()):
result = rpa_distinguish(secp128r1, multipliers, simulated_oracle)
assert 1 == len(result)
- assert real_mult == result[0]
+ assert real_mult == result.pop()