QUADRATIC_NONRESIDUE is never used, remove (#104)

* `QUADRATIC_NONRESIDUE` is never used, remove

* Update CHANGELOG.md

* Remove unused imports
This commit is contained in:
Marcin
2022-06-30 20:00:01 +02:00
committed by GitHub
parent 9a89ea8adc
commit 76579d0fbb
7 changed files with 6 additions and 41 deletions

View File

@@ -12,9 +12,6 @@ impl Fp2Config for Fq2Config {
/// NONRESIDUE = -1
const NONRESIDUE: Fq = MontFp!(Fq, "-1");
/// QUADRATIC_NONRESIDUE = U+2
const QUADRATIC_NONRESIDUE: Fq2 = QuadExt!(MontFp!(Fq, "2"), MontFp!(Fq, "1"));
/// Coefficients for the Frobenius automorphism.
const FROBENIUS_COEFF_FP2_C1: &'static [Fq] = &[
// NONRESIDUE**(((q^0) - 1) / 2)