BigInt fixes corresponding to algebra#372

Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
This commit is contained in:
Marcin
2022-01-10 20:03:40 +01:00
committed by GitHub
parent d1ced15cc2
commit 6a5cf1d84a
32 changed files with 315 additions and 307 deletions

View File

@@ -3,7 +3,7 @@ use ark_ec::{
bw6,
bw6::{BW6Parameters, TwistType, BW6},
};
use ark_ff::biginteger::BigInteger768 as BigInteger;
use ark_ff::{biginteger::BigInteger768 as BigInteger, BigInt};
pub mod g1;
pub mod g2;
@@ -15,7 +15,7 @@ mod tests;
pub struct Parameters;
impl BW6Parameters for Parameters {
const X: BigInteger = BigInteger([
const X: BigInteger = BigInt::new([
0x8508c00000000001,
0x0,
0x0,