diff options
| author | J08nY | 2023-10-05 14:13:25 +0200 |
|---|---|---|
| committer | J08nY | 2023-10-05 14:13:25 +0200 |
| commit | 30ad1d48422655001c64a6982f7f97208b802df3 (patch) | |
| tree | 0e0b9186435ebb6faa53217eee726de7714604f3 | |
| parent | 01f049138e1cfa8df1600f271299db8322957615 (diff) | |
| download | pyecsca-codegen-30ad1d48422655001c64a6982f7f97208b802df3.tar.gz pyecsca-codegen-30ad1d48422655001c64a6982f7f97208b802df3.tar.zst pyecsca-codegen-30ad1d48422655001c64a6982f7f97208b802df3.zip | |
Dont trace in simulator tests.
| -rw-r--r-- | test/test_simulator.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_simulator.py b/test/test_simulator.py index 104d57c..8ce38e4 100644 --- a/test/test_simulator.py +++ b/test/test_simulator.py @@ -58,7 +58,7 @@ def do_basic_test( ".", ], ) - target = SimulatorTarget(params.curve.model, params.curve.coordinate_model, trace_config=TraceConfig(register=HammingWeight())) + target = SimulatorTarget(params.curve.model, params.curve.coordinate_model) target.connect(binary=join(tmpdir, "pyecsca-codegen-CW308_STM32F3.elf")) target.set_params(params) formula_instances = [ @@ -131,7 +131,6 @@ def test_debug(cli_runner, curve32): def test_keygen(mult_name, mult_class, cli_runner, curve32): def callback(target, mult, params): priv, pub = target.generate() - print(len(target.trace)) assert params.curve.is_on_curve(pub) expected = mult.multiply(priv).to_affine() assert pub == expected |
