diff options
Diffstat (limited to 'pyecsca/ec')
| -rw-r--r-- | pyecsca/ec/formula/fake.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pyecsca/ec/formula/fake.py b/pyecsca/ec/formula/fake.py index 0a3451b..a07c5ed 100644 --- a/pyecsca/ec/formula/fake.py +++ b/pyecsca/ec/formula/fake.py @@ -92,3 +92,9 @@ class FakePoint(Point): def __repr__(self): return str(self) + + def __eq__(self, other): + return self is other + + def __hash__(self): + return id(self) |
