Trait snarkvm_fields::Fp2Parameters
source · pub trait Fp2Parameters: 'static + Send + Sync + Serialize + for<'a> Deserialize<'a> {
type Fp: PrimeField;
const FROBENIUS_COEFF_FP2_C1: [Self::Fp; 2];
const NONRESIDUE: Self::Fp;
const QUADRATIC_NONRESIDUE: (Self::Fp, Self::Fp);
// Provided method
fn mul_fp_by_nonresidue(fe: &Self::Fp) -> Self::Fp { ... }
}
Required Associated Types§
type Fp: PrimeField
Required Associated Constants§
sourceconst FROBENIUS_COEFF_FP2_C1: [Self::Fp; 2]
const FROBENIUS_COEFF_FP2_C1: [Self::Fp; 2]
Coefficients for the Frobenius automorphism.