diff options
| author | Ján Jančár | 2023-12-11 13:57:17 +0100 |
|---|---|---|
| committer | GitHub | 2023-12-11 13:57:17 +0100 |
| commit | 866922ff2b3745bd33f1a749fbee70b467feeafb (patch) | |
| tree | 76a340045db6194ecc7d356937a7649981dc3736 /test | |
| parent | 4402971348d442d24693f1a7298662c476b9dcd3 (diff) | |
| parent | b32cb5cb6105a165b8ddd0aa987019eafade5fec (diff) | |
| download | pyecsca-codegen-866922ff2b3745bd33f1a749fbee70b467feeafb.tar.gz pyecsca-codegen-866922ff2b3745bd33f1a749fbee70b467feeafb.tar.zst pyecsca-codegen-866922ff2b3745bd33f1a749fbee70b467feeafb.zip | |
Merge pull request #7 from andrr3j/fix/naming
renamed file and target class
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_emulator.py (renamed from test/test_simulator.py) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_simulator.py b/test/test_emulator.py index 8ce38e4..93ca074 100644 --- a/test/test_simulator.py +++ b/test/test_emulator.py @@ -8,7 +8,7 @@ from pyecsca.ec.signature import ECDSA_SHA1, SignatureResult from rainbow import TraceConfig, HammingWeight from pyecsca.codegen.builder import build_impl -from pyecsca.codegen.client import SimulatorTarget +from pyecsca.codegen.client import EmulatorTarget from pyecsca.ec.curve import EllipticCurve from pyecsca.ec.mod import Mod @@ -58,7 +58,7 @@ def do_basic_test( ".", ], ) - target = SimulatorTarget(params.curve.model, params.curve.coordinate_model) + target = EmulatorTarget(params.curve.model, params.curve.coordinate_model) target.connect(binary=join(tmpdir, "pyecsca-codegen-CW308_STM32F3.elf")) target.set_params(params) formula_instances = [ |
