aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca
diff options
context:
space:
mode:
Diffstat (limited to 'pyecsca')
-rw-r--r--pyecsca/ec/model.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyecsca/ec/model.py b/pyecsca/ec/model.py
index b4f62d3..42025c5 100644
--- a/pyecsca/ec/model.py
+++ b/pyecsca/ec/model.py
@@ -178,7 +178,8 @@ class TwistedEdwardsModel(EFDCurveModel):
super().__init__("twisted")
-if not ShortWeierstrassModel.coordinates:
+_dirs = list(files("pyecsca.ec").joinpath("efd").iterdir())
+if not _dirs:
import warnings
warnings.warn(