Update BN254

This commit is contained in:
Pratyush Mishra
2020-11-29 14:01:25 -08:00
parent b0565ad0c5
commit 31664a0e2e
7 changed files with 108 additions and 413 deletions

View File

@@ -92,5 +92,5 @@ impl FpParameters for FqParameters {
]);
}
pub const FQ_ONE: Fq = field_new!(Fq, FqParameters::R);
pub const FQ_ZERO: Fq = field_new!(Fq, BigInteger([0, 0, 0, 0]));
pub const FQ_ONE: Fq = field_new!(Fq, "1");
pub const FQ_ZERO: Fq = field_new!(Fq, "0");