aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/misc
diff options
context:
space:
mode:
authorJ08nY2024-07-11 19:05:54 +0200
committerJ08nY2024-07-11 19:05:54 +0200
commit455a335103f207d0471d1ce952a62e83df985ffb (patch)
treec2ed4fb091bebe6db51f6bcdb9783a2151e26185 /pyecsca/misc
parent857f5d315a653f8f69525b6d4ba31db0097810da (diff)
downloadpyecsca-455a335103f207d0471d1ce952a62e83df985ffb.tar.gz
pyecsca-455a335103f207d0471d1ce952a62e83df985ffb.tar.zst
pyecsca-455a335103f207d0471d1ce952a62e83df985ffb.zip
Prefer gmp to flint.
Diffstat (limited to 'pyecsca/misc')
-rw-r--r--pyecsca/misc/cfg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyecsca/misc/cfg.py b/pyecsca/misc/cfg.py
index eac5174..037074d 100644
--- a/pyecsca/misc/cfg.py
+++ b/pyecsca/misc/cfg.py
@@ -18,7 +18,7 @@ class ECConfig:
_non_residue_action: str = "error"
_unsatisfied_formula_assumption_action: str = "error"
_unsatisfied_coordinate_assumption_action: str = "error"
- _mod_implementation: str = "flint"
+ _mod_implementation: str = "gmp"
@property
def no_inverse_action(self) -> str:
@@ -109,8 +109,8 @@ class ECConfig:
One of:
- - ``"flint"``: Requires the flint library and `python-flint` package.
- ``"gmp"``: Requires the GMP library and `gmpy2` package.
+ - ``"flint"``: Requires the flint library and `python-flint` package.
- ``"python"``: Doesn't require anything.
- ``"symbolic"``: Requires sympy.
"""