aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2024-05-16 13:57:46 +0200
committerJ08nY2024-05-16 13:57:46 +0200
commitc53294e69e366293a04a10cfd9331f504ceab0ce (patch)
tree2d1ae89e60dfa537f3e80b3b4c1342cbee70b435
parentb8fb8dfab8230ebd879f445fc9fda8938f61a8e2 (diff)
downloadpyecsca-c53294e69e366293a04a10cfd9331f504ceab0ce.tar.gz
pyecsca-c53294e69e366293a04a10cfd9331f504ceab0ce.tar.zst
pyecsca-c53294e69e366293a04a10cfd9331f504ceab0ce.zip
-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(