aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca
diff options
context:
space:
mode:
authorJ08nY2023-08-25 18:45:25 +0200
committerJ08nY2023-08-25 18:45:25 +0200
commit4a2e8161c526d9eb2b892e89cdfeae14f8398457 (patch)
tree56ae413e7565bd2b4b091a72a8fbf3fef6fb547e /pyecsca
parent76a8a9bbd2684c8a6e554d753c671bdbdb1009b2 (diff)
downloadpyecsca-4a2e8161c526d9eb2b892e89cdfeae14f8398457.tar.gz
pyecsca-4a2e8161c526d9eb2b892e89cdfeae14f8398457.tar.zst
pyecsca-4a2e8161c526d9eb2b892e89cdfeae14f8398457.zip
Test all scalarmult combinations.
Diffstat (limited to 'pyecsca')
-rw-r--r--pyecsca/ec/mult.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyecsca/ec/mult.py b/pyecsca/ec/mult.py
index 45d2b38..48c04a8 100644
--- a/pyecsca/ec/mult.py
+++ b/pyecsca/ec/mult.py
@@ -263,7 +263,7 @@ class DoubleAndAddMultiplier(ScalarMultiplier, ABC):
return self.formulas == other.formulas and self.short_circuit == other.short_circuit and self.direction == other.direction and self.accumulation_order == other.accumulation_order and self.always == other.always and self.complete == other.complete
def __repr__(self):
- return f"{self.__class__.__name__}({tuple(self.formulas.values())}, short_circuit={self.short_circuit}, accumulation_order={self.accumulation_order})"
+ return f"{self.__class__.__name__}({tuple(self.formulas.values())}, short_circuit={self.short_circuit}, accumulation_order={self.accumulation_order}, always={self.always}, complete={self.complete})"
def _accumulate(self, p: Point, r: Point) -> Point:
if self.accumulation_order is AccumulationOrder.PeqPR: