diff options
| author | Ján Jančár | 2025-10-03 10:52:53 +0200 |
|---|---|---|
| committer | GitHub | 2025-10-03 10:52:53 +0200 |
| commit | 79d723f4ff97156b5828623b53dd58c33f16500b (patch) | |
| tree | ab826a1fb5d6eeba2f392b61c014d2a67464adbe | |
| parent | fa610a92b40c6bed2a409a8b3d8366948ad96cce (diff) | |
| parent | e6975a1924323ae5b7fbc1766ee65190157c37c2 (diff) | |
| download | pyecsca-79d723f4ff97156b5828623b53dd58c33f16500b.tar.gz pyecsca-79d723f4ff97156b5828623b53dd58c33f16500b.tar.zst pyecsca-79d723f4ff97156b5828623b53dd58c33f16500b.zip | |
| -rw-r--r-- | pyecsca/ec/mod/flint.py | 2 | ||||
| -rw-r--r-- | pyecsca/ec/mod/gmp.py | 2 | ||||
| -rw-r--r-- | pyecsca/ec/mult/comb.py | 2 | ||||
| -rw-r--r-- | pyecsca/ec/mult/ladder.py | 1 | ||||
| -rw-r--r-- | pyecsca/sca/re/rpa.py | 9 |
5 files changed, 3 insertions, 13 deletions
diff --git a/pyecsca/ec/mod/flint.py b/pyecsca/ec/mod/flint.py index becfeea..52a12a2 100644 --- a/pyecsca/ec/mod/flint.py +++ b/pyecsca/ec/mod/flint.py @@ -1,5 +1,5 @@ import warnings -from functools import lru_cache, wraps, partial +from functools import lru_cache, wraps from typing import Union from public import public diff --git a/pyecsca/ec/mod/gmp.py b/pyecsca/ec/mod/gmp.py index 268a752..ff205bf 100644 --- a/pyecsca/ec/mod/gmp.py +++ b/pyecsca/ec/mod/gmp.py @@ -1,4 +1,4 @@ -from functools import lru_cache, wraps, partial +from functools import lru_cache, wraps from typing import Union from public import public diff --git a/pyecsca/ec/mult/comb.py b/pyecsca/ec/mult/comb.py index 819a650..d24f557 100644 --- a/pyecsca/ec/mult/comb.py +++ b/pyecsca/ec/mult/comb.py @@ -1,6 +1,4 @@ """Provides Comb-like scalar multipliers, such as BGMW or Lim-Lee.""" - -import random from copy import copy from math import ceil from typing import MutableMapping, Optional diff --git a/pyecsca/ec/mult/ladder.py b/pyecsca/ec/mult/ladder.py index 3635ada..8d904b4 100644 --- a/pyecsca/ec/mult/ladder.py +++ b/pyecsca/ec/mult/ladder.py @@ -12,7 +12,6 @@ from pyecsca.ec.formula import ( LadderFormula, DifferentialAdditionFormula, ) -from pyecsca.ec.params import DomainParameters from pyecsca.ec.point import Point diff --git a/pyecsca/sca/re/rpa.py b/pyecsca/sca/re/rpa.py index 83abbf5..e7e033b 100644 --- a/pyecsca/sca/re/rpa.py +++ b/pyecsca/sca/re/rpa.py @@ -27,14 +27,7 @@ from pyecsca.sca.re.tree import Tree, Map from pyecsca.ec.coordinates import AffineCoordinateModel from pyecsca.ec.formula import ( FormulaAction, - DoublingFormula, - AdditionFormula, - TriplingFormula, - NegationFormula, - DifferentialAdditionFormula, - LadderFormula, - ScalingFormula, -) + ) from pyecsca.ec.mod import Mod, mod from pyecsca.ec.mult import ( ScalarMultiplicationAction, |
