gtank / ristretto255

Implements ristretto255, a fast prime-order group.
https://ristretto.group
BSD 3-Clause "New" or "Revised" License
98 stars 22 forks source link

compile failed by field.FeEqual return int and IsOnCurve return bool #6

Closed terryding77 closed 5 years ago

terryding77 commented 5 years ago

we cannot just return field.FeEqual for IsOnCurve function with different return value.

gtank commented 5 years ago

Thanks, good catch! I'll check why we used int in the new FeEqual.

gtank commented 5 years ago

Looks like Filippo incidentally fixed this while doing a giant refactoring (#8). Thanks again for reporting!