Document the fact that the iso-Pallas generator is arbitrary

This commit is contained in:
Taylor Hornby 2021-04-22 14:30:45 -06:00
parent b8dccde4c4
commit 4e70886918
1 changed files with 2 additions and 0 deletions

View File

@ -160,6 +160,8 @@ class Point(object):
Point.ZERO = Point.identity()
# This is an arbitrarily-chosen generator for testing purposes only, NOT a
# formally-selected common generator for iso-Pallas.
x = Fp(2)
y2 = x * x * x + PALLAS_ISO_A * x + PALLAS_ISO_B
y = y2.sqrt()