diff options
| author | J08nY | 2024-07-11 19:00:45 +0200 |
|---|---|---|
| committer | J08nY | 2024-07-11 19:00:45 +0200 |
| commit | 857f5d315a653f8f69525b6d4ba31db0097810da (patch) | |
| tree | 481319be444fc37ff5f0930a9230ba0356cdfc25 /test/sca | |
| parent | 764db654824081d60bfa07aee338218a973d9210 (diff) | |
| download | pyecsca-857f5d315a653f8f69525b6d4ba31db0097810da.tar.gz pyecsca-857f5d315a653f8f69525b6d4ba31db0097810da.tar.zst pyecsca-857f5d315a653f8f69525b6d4ba31db0097810da.zip | |
Diffstat (limited to 'test/sca')
| -rw-r--r-- | test/sca/perf_zvp.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sca/perf_zvp.py b/test/sca/perf_zvp.py index 88bfe74..ba63aae 100644 --- a/test/sca/perf_zvp.py +++ b/test/sca/perf_zvp.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import click -from pyecsca.ec.mod import has_gmp +from pyecsca.ec.mod import has_gmp, has_flint from pyecsca.misc.cfg import TemporaryConfig from pyecsca.sca.re.zvp import zvp_points, map_to_affine from pyecsca.ec.formula.unroll import unroll_formula @@ -14,8 +14,8 @@ from test.utils import Profiler @click.option( "-m", "--mod", - type=click.Choice(("python", "gmp")), - default="gmp" if has_gmp else "python", + type=click.Choice(("python", "gmp", "flint")), + default="flint" if has_flint else "gmp" if has_gmp else "python", ) @click.option("-o", "--operations", type=click.INT, default=1) @click.option( |
