Trait snarkvm_curves::templates::bls12::bls12::Bls12Parameters
source · [−]pub trait Bls12Parameters: 'static {
type Fp: PrimeField + SquareRootField + Into<<Self::Fp as PrimeField>::BigInteger>;
type Fp2Params: Fp2Parameters<Fp = Self::Fp>;
type Fp6Params: Fp6Parameters<Fp2Params = Self::Fp2Params>;
type Fp12Params: Fp12Parameters<Fp6Params = Self::Fp6Params>;
type G1Parameters: ShortWeierstrassParameters<BaseField = Self::Fp>;
type G2Parameters: ShortWeierstrassParameters<BaseField = Fp2<Self::Fp2Params>, ScalarField = <Self::G1Parameters as ModelParameters>::ScalarField>;
const X: &'static [u64];
const X_IS_NEGATIVE: bool;
const TWIST_TYPE: TwistType;
}