diff options
| author | deepsource-autofix[bot] | 2025-10-03 06:26:04 +0000 |
|---|---|---|
| committer | GitHub | 2025-10-03 06:26:04 +0000 |
| commit | e6975a1924323ae5b7fbc1766ee65190157c37c2 (patch) | |
| tree | ab826a1fb5d6eeba2f392b61c014d2a67464adbe /pyecsca/ec | |
| parent | fa610a92b40c6bed2a409a8b3d8366948ad96cce (diff) | |
| download | pyecsca-e6975a1924323ae5b7fbc1766ee65190157c37c2.tar.gz pyecsca-e6975a1924323ae5b7fbc1766ee65190157c37c2.tar.zst pyecsca-e6975a1924323ae5b7fbc1766ee65190157c37c2.zip | |
refactor: remove unused imports
An object has been imported but is not used anywhere in the file.
It should either be used or the import should be removed.
Diffstat (limited to 'pyecsca/ec')
| -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 |
4 files changed, 2 insertions, 5 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 |
