aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/ec/mod/__init__.py
blob: a5b152198ad5b7e0ece59e940032279de083d76b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
Provides several implementations of an element of ℤₙ.

The base class :py:class:`Mod` dynamically
dispatches to the implementation chosen by the runtime configuration of the library
(see :py:class:`pyecsca.misc.cfg.Config`). A Python integer based implementation is available under
:py:class:`RawMod`. A symbolic implementation based on sympy is available under :py:class:`SymbolicMod`. If
`gmpy2` is installed, a GMP based implementation is available under :py:class:`GMPMod`. If `python-flint` is
installed, a flint based implementation is available under :py:class:`FlintMod`.
"""

from .base import *
from .raw import *
from .symbolic import *
from .gmp import *
from .flint import *