Trait pairing_ce::ScalarEngine[][src]

pub trait ScalarEngine: 'static + Clone + Send + Sync + Debug {
    type Fr: PrimeField + SqrtField;
}

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.

Associated Types

type Fr: PrimeField + SqrtField[src]

This is the scalar field of the engine’s groups.

Loading content...

Implementors

impl ScalarEngine for Bls12[src]

type Fr = Fr

impl ScalarEngine for pairing_ce::bn256::Bn256[src]

type Fr = Fr

impl ScalarEngine for pairing_ce::compact_bn256::Bn256[src]

type Fr = Fr

Loading content...