Closed kwantam closed 2 years ago
Elligator 2 says:
6. If is_square(gx1), set x = x1, y = sqrt(gx1), and sgn0(y) == 1. 7. Else set x = x2, y = sqrt(gx2), and sgn0(y) == 0.
The use of == here seems incorrect, since it's setting rather than checking.
==
(Reported by @iquerejeta)
Elligator 2 says:
The use of
==
here seems incorrect, since it's setting rather than checking.(Reported by @iquerejeta)