Struct ark_cp6_782::fq3::Fq3Config
source · pub struct Fq3Config;
Trait Implementations§
source§impl Fp3Config for Fq3Config
impl Fp3Config for Fq3Config
source§const NONRESIDUE: Fq = _
const NONRESIDUE: Fq = _
NONRESIDUE = 13
§type Fp = Fp<MontBackend<FqConfig, 13>, 13>
type Fp = Fp<MontBackend<FqConfig, 13>, 13>
Base prime field underlying this extension.
source§const TWO_ADICITY: u32 = 3u32
const TWO_ADICITY: u32 = 3u32
p^3 - 1 = 2^s * t, where t is odd.
const TRACE_MINUS_ONE_DIV_TWO: &'static [u64] = _
source§const QUADRATIC_NONRESIDUE_TO_T: Fq3 = _
const QUADRATIC_NONRESIDUE_TO_T: Fq3 = _
t-th power of a quadratic nonresidue in Fp3.
const FROBENIUS_COEFF_FP3_C1: &'static [Fq] = _
const FROBENIUS_COEFF_FP3_C2: &'static [Fq] = _
source§fn mul_fp_by_nonresidue_in_place(fe: &mut Self::Fp) -> &mut Self::Fp
fn mul_fp_by_nonresidue_in_place(fe: &mut Self::Fp) -> &mut Self::Fp
Return
fe * Self::NONRESIDUE
.
The default implementation can be specialized if Self::NONRESIDUE
has a special
structure that can speed up multiplication