aboutsummaryrefslogtreecommitdiff
path: root/pyecsca/ec/mult/fixed.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyecsca/ec/mult/fixed.py')
-rw-r--r--pyecsca/ec/mult/fixed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyecsca/ec/mult/fixed.py b/pyecsca/ec/mult/fixed.py
index da14e5f..fedc22d 100644
--- a/pyecsca/ec/mult/fixed.py
+++ b/pyecsca/ec/mult/fixed.py
@@ -55,7 +55,7 @@ class FullPrecompMultiplier(AccumulatorMultiplier, ScalarMultiplier):
self.complete = complete
def __hash__(self):
- return id(self)
+ return hash((FullPrecompMultiplier, super().__hash__(), self.direction, self.accumulation_order, self.always))
def __eq__(self, other):
if not isinstance(other, FullPrecompMultiplier):