halo2_ecc::bn254

Type Alias FpChip

Source
pub type FpChip<'range, F> = FpChip<'range, F, Fq>;

Aliased Type§

struct FpChip<'range, F> {
    pub range: &'range RangeChip<F>,
    pub limb_bits: usize,
    pub num_limbs: usize,
    pub num_limbs_bits: usize,
    pub num_limbs_log2_ceil: usize,
    pub limb_bases: Vec<F>,
    pub limb_base_big: BigInt,
    pub limb_mask: BigUint,
    pub p: BigInt,
    pub p_limbs: Vec<F>,
    pub p_native: F,
    pub native_modulus: BigUint,
    /* private fields */
}

Fields§

§range: &'range RangeChip<F>§limb_bits: usize§num_limbs: usize§num_limbs_bits: usize§num_limbs_log2_ceil: usize§limb_bases: Vec<F>§limb_base_big: BigInt§limb_mask: BigUint§p: BigInt§p_limbs: Vec<F>§p_native: F§native_modulus: BigUint