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

FromAffine() functions do not check coordinate ranges #9

Closed gtank closed 5 years ago

gtank commented 5 years ago

Or perhaps the check should be validity of the input points. It should not be possible to pass input beyond the range implicitly defined by FieldElement.FromBytes.

This raises a question about error handling in the elliptic.Curve interface.