aboutsummaryrefslogtreecommitdiff
path: root/pyecsca/ec/mult/window.py
diff options
context:
space:
mode:
authorJ08nY2025-03-26 18:39:22 +0100
committerJ08nY2025-03-26 18:39:22 +0100
commit87737c7c0bd197f081b60b6cf11ed21d3fbff734 (patch)
treeb2049860feac3bc7a8805bb1135c0fa566d5d041 /pyecsca/ec/mult/window.py
parentcf7badc004cf6c17443c850272caab9be1061e00 (diff)
downloadpyecsca-87737c7c0bd197f081b60b6cf11ed21d3fbff734.tar.gz
pyecsca-87737c7c0bd197f081b60b6cf11ed21d3fbff734.tar.zst
pyecsca-87737c7c0bd197f081b60b6cf11ed21d3fbff734.zip
Diffstat (limited to 'pyecsca/ec/mult/window.py')
-rw-r--r--pyecsca/ec/mult/window.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyecsca/ec/mult/window.py b/pyecsca/ec/mult/window.py
index 1340e7e..327f794 100644
--- a/pyecsca/ec/mult/window.py
+++ b/pyecsca/ec/mult/window.py
@@ -39,6 +39,8 @@ class SlidingWindowMultiplier(
:param width: The width of the sliding-window recoding.
:param recoding_direction: The direction for the sliding-window recoding.
:param accumulation_order: The order of accumulation of points.
+ :param short_circuit: Whether the use of formulas will be guarded by short-circuit on inputs
+ of the point at infinity.
"""
requires = {AdditionFormula, DoublingFormula}
@@ -140,6 +142,8 @@ class FixedWindowLTRMultiplier(
:param m: The arity of the multiplier.
:param accumulation_order: The order of accumulation of points.
+ :param short_circuit: Whether the use of formulas will be guarded by short-circuit on inputs
+ of the point at infinity.
"""
requires = {AdditionFormula, DoublingFormula}