aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/ec
diff options
context:
space:
mode:
authorJ08nY2023-10-16 20:11:52 +0200
committerJ08nY2023-10-16 20:11:52 +0200
commita8d60bff6d4c70698cb4145cf1cc53cf215d4ad4 (patch)
tree38f3a278eed73168d59e85438eca6d65cc04f7b0 /pyecsca/ec
parent6e33ca6b07dd09f42949c5f9a3f24e2d87c852e8 (diff)
downloadpyecsca-a8d60bff6d4c70698cb4145cf1cc53cf215d4ad4.tar.gz
pyecsca-a8d60bff6d4c70698cb4145cf1cc53cf215d4ad4.tar.zst
pyecsca-a8d60bff6d4c70698cb4145cf1cc53cf215d4ad4.zip
Enhance RPA, add logging.
Diffstat (limited to 'pyecsca/ec')
-rw-r--r--pyecsca/ec/mult/naf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyecsca/ec/mult/naf.py b/pyecsca/ec/mult/naf.py
index c7dfa4a..84019b5 100644
--- a/pyecsca/ec/mult/naf.py
+++ b/pyecsca/ec/mult/naf.py
@@ -150,7 +150,7 @@ class WindowNAFMultiplier(AccumulatorMultiplier, ScalarMultiplier):
return self.formulas == other.formulas and self.short_circuit == other.short_circuit and self.width == other.width and self.precompute_negation == other.precompute_negation and self.accumulation_order == other.accumulation_order
def __repr__(self):
- return f"{self.__class__.__name__}({', '.join(map(str, self.formulas.values()))}, short_circuit={self.short_circuit}, precompute_negation={self.precompute_negation}, accumulation_order={self.accumulation_order.name})"
+ return f"{self.__class__.__name__}({', '.join(map(str, self.formulas.values()))}, short_circuit={self.short_circuit}, width={self.width}, precompute_negation={self.precompute_negation}, accumulation_order={self.accumulation_order.name})"
def init(self, params: DomainParameters, point: Point):
with PrecomputationAction(params, point):