aboutsummaryrefslogtreecommitdiff
path: root/pyecsca
diff options
context:
space:
mode:
authorJ08nY2025-06-19 14:54:29 +0200
committerJ08nY2025-06-19 14:54:29 +0200
commit248a3aefa3616b11bcb4d9b613328d69b2d8e076 (patch)
tree039ae0f8731110094a15d929a0cb5faf882360d9 /pyecsca
parentfbbc81029f9e3010f6a5d2e88ba4c72f4638d61c (diff)
downloadpyecsca-248a3aefa3616b11bcb4d9b613328d69b2d8e076.tar.gz
pyecsca-248a3aefa3616b11bcb4d9b613328d69b2d8e076.tar.zst
pyecsca-248a3aefa3616b11bcb4d9b613328d69b2d8e076.zip
Diffstat (limited to 'pyecsca')
-rw-r--r--pyecsca/ec/formula/fake.py6
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)