Skip to content

Commit a37671a

Browse files
committed
make INFINITY from Jacobi easier to print
1 parent 9b11104 commit a37671a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/ecdsa/ellipticcurve.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,6 +1289,9 @@ def curve(self):
12891289
def order(self):
12901290
return self.__order
12911291

1292+
def to_affine(self):
1293+
return self
1294+
12921295

12931296
class PointEdwards(AbstractPoint):
12941297
"""Point on Twisted Edwards curve.

0 commit comments

Comments
 (0)