diff options
| author | J08nY | 2024-01-31 15:14:28 +0100 |
|---|---|---|
| committer | J08nY | 2024-01-31 15:14:28 +0100 |
| commit | f7f4115df9d443449b9c57875a38ea12b12f1758 (patch) | |
| tree | 5c445a9f0cd55e80c017aedeffb792dc21de8f24 /test | |
| parent | a47984dfe36f4ea4b91ee8a7825824d2bbdd9e13 (diff) | |
| download | pyecsca-f7f4115df9d443449b9c57875a38ea12b12f1758.tar.gz pyecsca-f7f4115df9d443449b9c57875a38ea12b12f1758.tar.zst pyecsca-f7f4115df9d443449b9c57875a38ea12b12f1758.zip | |
Move formula expand to work with sets.
Diffstat (limited to 'test')
| -rw-r--r-- | test/sca/perf_zvp.py | 3 | ||||
| -rw-r--r-- | test/sca/test_zvp.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/sca/perf_zvp.py b/test/sca/perf_zvp.py index 3125627..88bfe74 100644 --- a/test/sca/perf_zvp.py +++ b/test/sca/perf_zvp.py @@ -3,7 +3,8 @@ import click from pyecsca.ec.mod import has_gmp from pyecsca.misc.cfg import TemporaryConfig -from pyecsca.sca.re.zvp import zvp_points, unroll_formula, map_to_affine +from pyecsca.sca.re.zvp import zvp_points, map_to_affine +from pyecsca.ec.formula.unroll import unroll_formula from pyecsca.ec.params import get_params from test.utils import Profiler diff --git a/test/sca/test_zvp.py b/test/sca/test_zvp.py index 6413f2d..eaf1686 100644 --- a/test/sca/test_zvp.py +++ b/test/sca/test_zvp.py @@ -5,7 +5,6 @@ from pyecsca.ec.mod import Mod from pyecsca.ec.mult import LTRMultiplier, AccumulationOrder from pyecsca.ec.point import Point from pyecsca.sca.re.zvp import ( - unroll_formula, map_to_affine, subs_curve_equation, remove_z, @@ -18,6 +17,7 @@ from pyecsca.sca.re.zvp import ( solve_easy_dcp, solve_hard_dcp, ) +from pyecsca.ec.formula.unroll import unroll_formula from pyecsca.ec.context import local, DefaultContext from sympy import symbols, Poly, sympify, FF |
