Update BLS12-381

This commit is contained in:
Pratyush Mishra
2020-11-28 14:58:25 -08:00
parent 0445d45c07
commit b0565ad0c5
6 changed files with 98 additions and 416 deletions

View File

@@ -111,5 +111,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, 0, 0]));
pub const FQ_ONE: Fq = field_new!(Fq, "1");
pub const FQ_ZERO: Fq = field_new!(Fq, "0");