aboutsummaryrefslogtreecommitdiff
path: root/pyecsca/ec/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyecsca/ec/model.py')
-rw-r--r--pyecsca/ec/model.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/pyecsca/ec/model.py b/pyecsca/ec/model.py
index 90c99a3..a28e700 100644
--- a/pyecsca/ec/model.py
+++ b/pyecsca/ec/model.py
@@ -1,8 +1,9 @@
from ast import parse, Expression, Module
from os.path import join
+from typing import List, MutableMapping
+
from pkg_resources import resource_listdir, resource_isdir, resource_stream
from public import public
-from typing import List, MutableMapping
from .coordinates import EFDCoordinateModel, CoordinateModel
@@ -23,11 +24,6 @@ class CurveModel(object):
to_weierstrass: List[Module]
from_weierstrass: List[Module]
- # TODO: move the base_formulas into methods, operatin on affine points?
- # Also to_weierstrass anf from_weierstrass.
-
- # TODO: __eq__
-
class EFDCurveModel(CurveModel):
_efd_name: str
@@ -93,10 +89,6 @@ class EFDCurveModel(CurveModel):
def __read_coordinate_dir(self, cls, dir_path, name):
cls.coordinates[name] = EFDCoordinateModel(dir_path, name, self)
- @classmethod
- def add(cls, one, other):
- pass
-
def __eq__(self, other):
if not isinstance(other, EFDCurveModel):
return False