pub struct Fp6ConfigWrapper<P: Fp6Config>(/* private fields */);
Trait Implementations§
Source§impl<P: Fp6Config> CubicExtConfig for Fp6ConfigWrapper<P>
impl<P: Fp6Config> CubicExtConfig for Fp6ConfigWrapper<P>
Source§const SQRT_PRECOMP: Option<SqrtPrecomputation<CubicExtField<Self>>> = P::SQRT_PRECOMP
const SQRT_PRECOMP: Option<SqrtPrecomputation<CubicExtField<Self>>> = P::SQRT_PRECOMP
Determines the algorithm for computing square roots.
Source§const DEGREE_OVER_BASE_PRIME_FIELD: usize = 6usize
const DEGREE_OVER_BASE_PRIME_FIELD: usize = 6usize
The degree of the extension over the base prime field.
Source§const NONRESIDUE: Self::BaseField = P::NONRESIDUE
const NONRESIDUE: Self::BaseField = P::NONRESIDUE
The cubic non-residue used to construct the extension.
Source§const FROBENIUS_COEFF_C1: &'static [Self::FrobCoeff] = P::FROBENIUS_COEFF_FP6_C1
const FROBENIUS_COEFF_C1: &'static [Self::FrobCoeff] = P::FROBENIUS_COEFF_FP6_C1
Coefficients for the Frobenius automorphism.
const FROBENIUS_COEFF_C2: &'static [Self::FrobCoeff] = P::FROBENIUS_COEFF_FP6_C2
Source§type BasePrimeField = <<P as Fp6Config>::Fp2Config as Fp2Config>::Fp
type BasePrimeField = <<P as Fp6Config>::Fp2Config as Fp2Config>::Fp
The prime field that this cubic extension is eventually an extension of.
Source§type BaseField = QuadExtField<Fp2ConfigWrapper<<P as Fp6Config>::Fp2Config>>
type BaseField = QuadExtField<Fp2ConfigWrapper<<P as Fp6Config>::Fp2Config>>
The base field that this field is a cubic extension of. Read more
Source§type FrobCoeff = QuadExtField<Fp2ConfigWrapper<<P as Fp6Config>::Fp2Config>>
type FrobCoeff = QuadExtField<Fp2ConfigWrapper<<P as Fp6Config>::Fp2Config>>
The type of the coefficients for an efficient implementation of the
Frobenius endomorphism.
Source§fn mul_base_field_by_nonresidue_in_place(
fe: &mut Self::BaseField,
) -> &mut Self::BaseField
fn mul_base_field_by_nonresidue_in_place( fe: &mut Self::BaseField, ) -> &mut Self::BaseField
A specializable method for multiplying an element of the base field by
the quadratic non-residue. This is used in multiplication and squaring.
Source§fn mul_base_field_by_frob_coeff(
c1: &mut Self::BaseField,
c2: &mut Self::BaseField,
power: usize,
)
fn mul_base_field_by_frob_coeff( c1: &mut Self::BaseField, c2: &mut Self::BaseField, power: usize, )
A specializable method for multiplying an element of the base field by
the appropriate Frobenius coefficient.
Source§fn mul_base_field_by_nonresidue(fe: Self::BaseField) -> Self::BaseField
fn mul_base_field_by_nonresidue(fe: Self::BaseField) -> Self::BaseField
A defaulted method for multiplying an element of the base field by
the quadratic non-residue. This is used in multiplication and squaring.
Auto Trait Implementations§
impl<P> Freeze for Fp6ConfigWrapper<P>
impl<P> RefUnwindSafe for Fp6ConfigWrapper<P>where
P: RefUnwindSafe,
impl<P> Send for Fp6ConfigWrapper<P>
impl<P> Sync for Fp6ConfigWrapper<P>
impl<P> Unpin for Fp6ConfigWrapper<P>where
P: Unpin,
impl<P> UnwindSafe for Fp6ConfigWrapper<P>where
P: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more