Struct ark_ff::fields::models::fp2::Fp2ParamsWrapper[][src]

pub struct Fp2ParamsWrapper<P: Fp2Parameters>(_);

Trait Implementations

The prime field that this quadratic extension is eventually an extension of.

The base field that this field is a quadratic 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

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 computing x + mul_base_field_by_nonresidue(y) + y This allows for optimizations when the non-residue is not -1. Read more

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.