halo2curves_axiom::ff_ext

Trait Legendre

Source
pub trait Legendre {
    // Required method
    fn legendre(&self) -> i64;

    // Provided methods
    fn ct_quadratic_non_residue(&self) -> Choice { ... }
    fn ct_quadratic_residue(&self) -> Choice { ... }
}

Required Methods§

Source

fn legendre(&self) -> i64

Provided Methods§

Implementors§

Source§

impl Legendre for Fq2

Source§

impl Legendre for halo2curves_axiom::bn256::Fq

Source§

impl Legendre for Fr

Source§

impl Legendre for halo2curves_axiom::pluto_eris::Fp

Source§

impl Legendre for halo2curves_axiom::pluto_eris::Fq

Source§

impl Legendre for halo2curves_axiom::secp256k1::Fp

Source§

impl Legendre for halo2curves_axiom::secp256k1::Fq

Source§

impl Legendre for halo2curves_axiom::secp256r1::Fp

Source§

impl Legendre for halo2curves_axiom::secp256r1::Fq