aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/perf.yml2
-rw-r--r--.github/workflows/test.yml2
-rw-r--r--pyecsca/ec/mod.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml
index 69ea332..ca3b1ae 100644
--- a/.github/workflows/perf.yml
+++ b/.github/workflows/perf.yml
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
- python-version: ["3.9", "3.10", "3.11"]
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
mod: ["python", "gmp", "flint"]
env:
PYTHON: ${{ matrix.python-version }}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 1134792..95d6a3b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
- python-version: ["3.9", "3.10", "3.11"]
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
mod: ["python", "gmp", "flint"]
env:
PYTHON: ${{ matrix.python-version }}
diff --git a/pyecsca/ec/mod.py b/pyecsca/ec/mod.py
index 7637fd4..46b6f46 100644
--- a/pyecsca/ec/mod.py
+++ b/pyecsca/ec/mod.py
@@ -169,7 +169,7 @@ class Mod:
.. note::
This class dispatches to one of :py:class:`RawMod`, :py:class:`GMPMod` or :py:class:`FlintMod`
based on what packages are installed and what implementation is configured (see
- :py:module:`pyecsca.misc.cfg`).
+ :py:mod:`pyecsca.misc.cfg`).
Has all the usual special methods that upcast integers automatically:
@@ -781,7 +781,7 @@ if has_flint:
@public
class FlintMod(Mod):
- """An element x of ℤₙ. Implemented by GMP."""
+ """An element x of ℤₙ. Implemented by flint."""
x: flint.fmpz_mod
_ctx: flint.fmpz_mod_ctx