Trait ff_ce::ScalarEngine
source · pub trait ScalarEngine: Sized + 'static + Clone + Copy + Send + Sync + Debug {
type Fr: PrimeField + SqrtField;
}
Expand description
An “engine” is a collection of types (fields, elliptic curve groups, etc.) with well-defined relationships. Specific relationships (for example, a pairing-friendly curve) can be defined in a subtrait.
Required Associated Types§
sourcetype Fr: PrimeField + SqrtField
type Fr: PrimeField + SqrtField
This is the scalar field of the engine’s groups.