Fix missing divide-by-Z
Co-authored-by: str4d <jack@z.cash>
This commit is contained in:
parent
d9750457b9
commit
e141b76203
|
@ -88,7 +88,7 @@ def map_to_curve_simple_swu(u):
|
||||||
B = PALLAS_ISO_B
|
B = PALLAS_ISO_B
|
||||||
Z = Fp(-13, False)
|
Z = Fp(-13, False)
|
||||||
c1 = -B / A
|
c1 = -B / A
|
||||||
c2 = Fp(-1)
|
c2 = Fp(-1) / Z
|
||||||
|
|
||||||
tv1 = Z * u.exp(2)
|
tv1 = Z * u.exp(2)
|
||||||
tv2 = tv1.exp(2)
|
tv2 = tv1.exp(2)
|
||||||
|
|
Loading…
Reference in New Issue