mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-04 20:03:39 +00:00
The previous `CurveAffine::get_xy` method returned the coordinates as `CtOption<(C::Base, C::Base)>`. However, `ConditionallySelectable` is not implemented for any tuple or array types, making it impossible to use any of the useful `CtOption` methods like `and_then`. We replace it with `CurveAffine::coordinates -> CtOption<Coordinates<Self>>` and `impl ConditionallySelectable for Coordinates` to enable operating over coordinates in constant time. |
||
|---|---|---|
| .. | ||
| curves.rs | ||
| fields.rs | ||