aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJ08nY2024-07-15 15:15:39 +0200
committerJ08nY2024-07-15 15:15:45 +0200
commit8d074d5ab0f98d52fd31f82f78a1adfcc5e66210 (patch)
tree0fc99c0543e7084092f9f176d185c465a4245138
parent72c5f70c01af2c16f76dc6ddba7de55cc6d9583f (diff)
downloadpyecsca-8d074d5ab0f98d52fd31f82f78a1adfcc5e66210.tar.gz
pyecsca-8d074d5ab0f98d52fd31f82f78a1adfcc5e66210.tar.zst
pyecsca-8d074d5ab0f98d52fd31f82f78a1adfcc5e66210.zip
Test 3.12 in CI.
-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