diff options
| author | J08nY | 2024-04-08 13:16:06 +0200 |
|---|---|---|
| committer | J08nY | 2024-04-08 13:16:06 +0200 |
| commit | b6cedf2e68204a6b9e7988da10bb8cd81678b171 (patch) | |
| tree | c3952f49ce816b74d1cd33dd56f28bd8df580c67 /test/sca | |
| parent | 010a328a553d92dead6ee8a93498b876d7ba953f (diff) | |
| download | pyecsca-b6cedf2e68204a6b9e7988da10bb8cd81678b171.tar.gz pyecsca-b6cedf2e68204a6b9e7988da10bb8cd81678b171.tar.zst pyecsca-b6cedf2e68204a6b9e7988da10bb8cd81678b171.zip | |
Abstract out tree building in RPA and extract common RE class.
Diffstat (limited to 'test/sca')
| -rw-r--r-- | test/sca/test_rpa.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/sca/test_rpa.py b/test/sca/test_rpa.py index 43f4183..af19ba2 100644 --- a/test/sca/test_rpa.py +++ b/test/sca/test_rpa.py @@ -180,8 +180,6 @@ def test_distinguish(secp128r1, add, dbl, neg): map(lambda P: P.X == 0 or P.Y == 0, sum(ctx.parents.values(), [])) ) - with redirect_stdout(io.StringIO()): - result = rpa_distinguish(secp128r1, multipliers, simulated_oracle) + result = rpa_distinguish(secp128r1, multipliers, simulated_oracle) assert real_mult in result assert 1 == len(result) - assert real_mult == result.pop() |
