Trait snarkvm_wasm::Fp2Parameters [−][src]
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); fn mul_fp_by_nonresidue(fe: &Self::Fp) -> Self::Fp { ... } }
Associated Types
type Fp: PrimeField
Associated Constants
const FROBENIUS_COEFF_FP2_C1: [Self::Fp; 2]
const FROBENIUS_COEFF_FP2_C1: [Self::Fp; 2]
Coefficients for the Frobenius automorphism.
const NONRESIDUE: Self::Fp
Provided methods
fn mul_fp_by_nonresidue(fe: &Self::Fp) -> Self::Fp