Struct ark_ff::fields::models::fp2::Fp2ParamsWrapper [−][src]
pub struct Fp2ParamsWrapper<P: Fp2Parameters>(_);
Trait Implementations
type BasePrimeField = P::Fp
type BasePrimeField = P::Fp
The prime field that this quadratic extension is eventually an extension of.
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
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 multiplying an element of the base field by the appropriate Frobenius coefficient. 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 Fp2ParamsWrapper<P>
impl<P> Sync for Fp2ParamsWrapper<P>
impl<P> Unpin for Fp2ParamsWrapper<P> where
P: Unpin,