ark_ff::fields::models::fp4

Trait Fp4Config

Source
pub trait Fp4Config:
    'static
    + Send
    + Sync {
    type Fp2Config: Fp2Config;

    const NONRESIDUE: Fp2<Self::Fp2Config>;
    const FROBENIUS_COEFF_FP4_C1: &'static [<Self::Fp2Config as Fp2Config>::Fp];

    // Provided method
    fn mul_fp2_by_nonresidue_in_place(
        fe: &mut Fp2<Self::Fp2Config>,
    ) -> &mut Fp2<Self::Fp2Config> { ... }
}

Required Associated Constants§

Source

const NONRESIDUE: Fp2<Self::Fp2Config>

This must equal (0, 1); see [DESD06, Section 5.1].

Source

const FROBENIUS_COEFF_FP4_C1: &'static [<Self::Fp2Config as Fp2Config>::Fp]

Coefficients for the Frobenius automorphism. non_residue^((modulus^i-1)/4) for i=0,1,2,3

Required Associated Types§

Provided Methods§

Source

fn mul_fp2_by_nonresidue_in_place( fe: &mut Fp2<Self::Fp2Config>, ) -> &mut Fp2<Self::Fp2Config>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§