diff options
| author | J08nY | 2024-06-04 17:02:57 +0200 |
|---|---|---|
| committer | J08nY | 2024-06-04 17:02:57 +0200 |
| commit | 618deff9313f1b4ee91d8fe028d7103bfe95144b (patch) | |
| tree | c932f16722fff2c754e18cd20eda2de1e9334e0a /pyecsca/sca/attack/CPA.py | |
| parent | 4eadcd6ad1e4cadcb8bb0b6da8d9c0b62f2a09f0 (diff) | |
| download | pyecsca-618deff9313f1b4ee91d8fe028d7103bfe95144b.tar.gz pyecsca-618deff9313f1b4ee91d8fe028d7103bfe95144b.tar.zst pyecsca-618deff9313f1b4ee91d8fe028d7103bfe95144b.zip | |
New tree API.
Diffstat (limited to 'pyecsca/sca/attack/CPA.py')
| -rw-r--r-- | pyecsca/sca/attack/CPA.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyecsca/sca/attack/CPA.py b/pyecsca/sca/attack/CPA.py index 6efa3b5..efa406c 100644 --- a/pyecsca/sca/attack/CPA.py +++ b/pyecsca/sca/attack/CPA.py @@ -55,7 +55,7 @@ class CPA: action_index += 2 elif bit == "0": action_index += 1 - result = ctx.actions.get_by_index([action_index]).action + result = ctx.actions[0].get_by_index([action_index]).action return result.output_points[0].X def compute_correlation_trace( |
