diff options
| -rw-r--r-- | pyecsca/ec/mod.py | 2 | ||||
| -rw-r--r-- | pyecsca/misc/cfg.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pyecsca/ec/mod.py b/pyecsca/ec/mod.py index 241967b..978b853 100644 --- a/pyecsca/ec/mod.py +++ b/pyecsca/ec/mod.py @@ -151,7 +151,7 @@ class RandomModAction(ResultAction): _mod_classes: Dict[str, Type] = {} -_mod_order = ["flint", "gmp", "python"] +_mod_order = ["gmp", "flint", "python"] @public 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. """ |
