halo2curves::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 halo2curves::bls12381::Fq

Source§

impl Legendre for halo2curves::bls12381::Fr

Source§

impl Legendre for halo2curves::bn256::Fq

Source§

impl Legendre for halo2curves::bn256::Fr

Source§

impl Legendre for halo2curves::pluto_eris::Fp

Source§

impl Legendre for halo2curves::pluto_eris::Fq

Source§

impl Legendre for halo2curves::secp256k1::Fp

Source§

impl Legendre for halo2curves::secp256k1::Fq

Source§

impl Legendre for halo2curves::secp256r1::Fp

Source§

impl Legendre for halo2curves::secp256r1::Fq

Source§

impl Legendre for QuadExtField<Fp>

Source§

impl Legendre for halo2curves::bls12381::Fq2

Source§

impl Legendre for halo2curves::bn256::Fq2