ark_ff::fields::models::fp6_3over2

Type Alias Fp6

Source
pub type Fp6<P> = CubicExtField<Fp6ConfigWrapper<P>>;

Aliased Type§

struct Fp6<P> {
    pub c0: <Fp6ConfigWrapper<P> as CubicExtConfig>::BaseField,
    pub c1: <Fp6ConfigWrapper<P> as CubicExtConfig>::BaseField,
    pub c2: <Fp6ConfigWrapper<P> as CubicExtConfig>::BaseField,
}

Fields§

§c0: <Fp6ConfigWrapper<P> as CubicExtConfig>::BaseField§c1: <Fp6ConfigWrapper<P> as CubicExtConfig>::BaseField§c2: <Fp6ConfigWrapper<P> as CubicExtConfig>::BaseField

Implementations§

Source§

impl<P: Fp6Config> Fp6<P>

Source

pub fn mul_assign_by_fp2(&mut self, other: Fp2<P::Fp2Config>)

Source

pub fn mul_by_fp(&mut self, element: &<P::Fp2Config as Fp2Config>::Fp)

Source

pub fn mul_by_fp2(&mut self, element: &Fp2<P::Fp2Config>)

Source

pub fn mul_by_1(&mut self, c1: &Fp2<P::Fp2Config>)

Source

pub fn mul_by_01(&mut self, c0: &Fp2<P::Fp2Config>, c1: &Fp2<P::Fp2Config>)

Trait Implementations§

Source§

impl<P: Fp6Config> CyclotomicMultSubgroup for Fp6<P>

Source§

const INVERSE_IS_FAST: bool = false

Is the inverse fast to compute? For example, in quadratic extensions, the inverse can be computed at the cost of negating one coordinate, which is much faster than standard inversion. By default this is false, but should be set to true for quadratic extensions.
Source§

fn cyclotomic_square(&self) -> Self

Compute a square in the cyclotomic subgroup. By default this is computed using Field::square, but for degree 12 extensions, this can be computed faster than normal squaring. Read more
Source§

fn cyclotomic_square_in_place(&mut self) -> &mut Self

Square self in place. By default this is computed using Field::square_in_place, but for degree 12 extensions, this can be computed faster than normal squaring. Read more
Source§

fn cyclotomic_inverse(&self) -> Option<Self>

Compute the inverse of self. See Self::INVERSE_IS_FAST for details. Returns None if self.is_zero(), and Some otherwise. Read more
Source§

fn cyclotomic_inverse_in_place(&mut self) -> Option<&mut Self>

Compute the inverse of self. See Self::INVERSE_IS_FAST for details. Returns None if self.is_zero(), and Some otherwise. Read more
Source§

fn cyclotomic_exp(&self, e: impl AsRef<[u64]>) -> Self

Compute a cyclotomic exponentiation of self with respect to e. Read more
Source§

fn cyclotomic_exp_in_place(&mut self, e: impl AsRef<[u64]>)

Set self to be the result of exponentiating self by e, using efficient cyclotomic algorithms. Read more