Struct ark_ff::fields::models::fp4::Fp4ParamsWrapper [−][src]
pub struct Fp4ParamsWrapper<P: Fp4Parameters>(_);
Trait Implementations
type BasePrimeField = <P::Fp2Params as Fp2Parameters>::Fp
type BasePrimeField = <P::Fp2Params as Fp2Parameters>::Fp
The prime field that this quadratic extension is eventually an extension of.
type FrobCoeff = Self::BasePrimeField
type FrobCoeff = Self::BasePrimeField
The type of the coefficients for an efficient implemntation of the Frobenius endomorphism. Read more
The degree of the extension over the base prime field.
The quadratic non-residue used to construct the extension.
Coefficients for the Frobenius automorphism.
A specializable method for multiplying an element of the base field by the quadratic non-residue. This is used in Karatsuba multiplication and in complex squaring. Read more
A specializable method for multiplying an element of the base field by the appropriate Frobenius coefficient. Read more
fn add_and_mul_base_field_by_nonresidue(
x: &Self::BaseField,
y: &Self::BaseField
) -> Self::BaseField
[src]
fn add_and_mul_base_field_by_nonresidue(
x: &Self::BaseField,
y: &Self::BaseField
) -> Self::BaseField
[src]A specializable method for computing x + mul_base_field_by_nonresidue(y) This allows for optimizations when the non-residue is canonically negative in the field. Read more
fn add_and_mul_base_field_by_nonresidue_plus_one(
x: &Self::BaseField,
y: &Self::BaseField
) -> Self::BaseField
[src]
fn add_and_mul_base_field_by_nonresidue_plus_one(
x: &Self::BaseField,
y: &Self::BaseField
) -> Self::BaseField
[src]A specializable method for computing x + mul_base_field_by_nonresidue(y) + y This allows for optimizations when the non-residue is not -1. Read more
fn sub_and_mul_base_field_by_nonresidue(
x: &Self::BaseField,
y: &Self::BaseField
) -> Self::BaseField
[src]
fn sub_and_mul_base_field_by_nonresidue(
x: &Self::BaseField,
y: &Self::BaseField
) -> Self::BaseField
[src]A specializable method for computing x - mul_base_field_by_nonresidue(y) This allows for optimizations when the non-residue is canonically negative in the field. Read more
A specializable method for exponentiating that is to be used
only when fe
is known to be in the cyclotommic subgroup. Read more
Auto Trait Implementations
impl<P> Send for Fp4ParamsWrapper<P>
impl<P> Sync for Fp4ParamsWrapper<P>
impl<P> Unpin for Fp4ParamsWrapper<P> where
P: Unpin,