diff options
| author | J08nY | 2025-06-19 14:54:29 +0200 |
|---|---|---|
| committer | J08nY | 2025-06-19 14:54:29 +0200 |
| commit | 248a3aefa3616b11bcb4d9b613328d69b2d8e076 (patch) | |
| tree | 039ae0f8731110094a15d929a0cb5faf882360d9 /pyecsca | |
| parent | fbbc81029f9e3010f6a5d2e88ba4c72f4638d61c (diff) | |
| download | pyecsca-248a3aefa3616b11bcb4d9b613328d69b2d8e076.tar.gz pyecsca-248a3aefa3616b11bcb4d9b613328d69b2d8e076.tar.zst pyecsca-248a3aefa3616b11bcb4d9b613328d69b2d8e076.zip | |
Diffstat (limited to 'pyecsca')
| -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) |
