| ... | @@ -10,7 +10,7 @@ pub const Ristretto255 = struct { | ... | @@ -10,7 +10,7 @@ pub const Ristretto255 = struct { |
| 10 | /// Field arithmetic mod the order of the main subgroup. | 10 | /// Field arithmetic mod the order of the main subgroup. |
| 11 | pub const scalar = Curve.scalar; | 11 | pub const scalar = Curve.scalar; |
| 12 | | 12 | |
| 13 | p: Curve = undefined, | 13 | p: Curve, |
| 14 | | 14 | |
| 15 | fn sqrtRatioM1(u: Fe, v: Fe) !Fe { | 15 | fn sqrtRatioM1(u: Fe, v: Fe) !Fe { |
| 16 | const v3 = v.sq().mul(v); // v^3 | 16 | const v3 = v.sq().mul(v); // v^3 |