diff options
| author | J08nY | 2024-05-16 13:57:46 +0200 |
|---|---|---|
| committer | J08nY | 2024-05-16 13:57:46 +0200 |
| commit | c53294e69e366293a04a10cfd9331f504ceab0ce (patch) | |
| tree | 2d1ae89e60dfa537f3e80b3b4c1342cbee70b435 | |
| parent | b8fb8dfab8230ebd879f445fc9fda8938f61a8e2 (diff) | |
| download | pyecsca-c53294e69e366293a04a10cfd9331f504ceab0ce.tar.gz pyecsca-c53294e69e366293a04a10cfd9331f504ceab0ce.tar.zst pyecsca-c53294e69e366293a04a10cfd9331f504ceab0ce.zip | |
| -rw-r--r-- | pyecsca/ec/model.py | 3 |
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( |
