|
|
@ -97,7 +97,7 @@ pub trait CurveProjective: PartialEq + |
|
|
|
rand::Rand + |
|
|
|
rand::Rand + |
|
|
|
'static |
|
|
|
'static |
|
|
|
{ |
|
|
|
{ |
|
|
|
type Engine: Engine; |
|
|
|
type Engine: Engine<Fr=Self::Scalar>; |
|
|
|
type Scalar: PrimeField; |
|
|
|
type Scalar: PrimeField; |
|
|
|
type Base: SqrtField; |
|
|
|
type Base: SqrtField; |
|
|
|
type Affine: CurveAffine<Projective=Self, Scalar=Self::Scalar>; |
|
|
|
type Affine: CurveAffine<Projective=Self, Scalar=Self::Scalar>; |
|
|
@ -166,7 +166,7 @@ pub trait CurveAffine: Copy + |
|
|
|
Eq + |
|
|
|
Eq + |
|
|
|
'static |
|
|
|
'static |
|
|
|
{ |
|
|
|
{ |
|
|
|
type Engine: Engine; |
|
|
|
type Engine: Engine<Fr=Self::Scalar>; |
|
|
|
type Scalar: PrimeField; |
|
|
|
type Scalar: PrimeField; |
|
|
|
type Base: SqrtField; |
|
|
|
type Base: SqrtField; |
|
|
|
type Projective: CurveProjective<Affine=Self, Scalar=Self::Scalar>; |
|
|
|
type Projective: CurveProjective<Affine=Self, Scalar=Self::Scalar>; |
|
|
|