Adding AdditiveGroup and PrimeGroup (#159)

Co-authored-by: Michele Orrù <michele.orru@berkeley.edu>
Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
This commit is contained in:
Hossein Moghaddas
2023-08-19 21:09:04 +02:00
committed by GitHub
parent 5a41d7f27a
commit 32b487e7fd
42 changed files with 49 additions and 44 deletions

View File

@@ -3,7 +3,7 @@ use ark_ec::{
mnt6::MNT6Config,
models::{short_weierstrass::SWCurveConfig, CurveConfig},
};
use ark_ff::{Field, MontFp};
use ark_ff::{AdditiveGroup, MontFp};
use crate::{g1, Fq, Fq3, Fr};

View File

@@ -2,7 +2,7 @@ use ark_ec::{
models::mnt6::{MNT6Config, MNT6},
short_weierstrass::SWCurveConfig,
};
use ark_ff::{biginteger::BigInteger320, BigInt, Field, Fp3};
use ark_ff::{biginteger::BigInteger320, AdditiveGroup, BigInt, Field, Fp3};
use crate::{Fq, Fq3Config, Fq6Config, Fr};

View File

@@ -1,6 +1,6 @@
use ark_ff::{
fields::fp3::{Fp3, Fp3Config},
Field, MontFp,
AdditiveGroup, Field, MontFp,
};
use crate::fq::Fq;

View File

@@ -1,6 +1,6 @@
use ark_ff::{
fields::fp6_2over3::{Fp6, Fp6Config},
Field, MontFp,
AdditiveGroup, Field, MontFp,
};
use crate::{Fq, Fq3, Fq3Config};