mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-09 23:41:30 +01:00
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:
committed by
GitHub
parent
5a41d7f27a
commit
32b487e7fd
@@ -3,7 +3,7 @@ use ark_ec::{
|
||||
short_weierstrass::{Affine, Projective, SWCurveConfig},
|
||||
AffineRepr, CurveGroup,
|
||||
};
|
||||
use ark_ff::{Field, MontFp};
|
||||
use ark_ff::{AdditiveGroup, MontFp};
|
||||
use ark_serialize::{CanonicalDeserialize, CanonicalSerialize};
|
||||
use ark_std::vec::Vec;
|
||||
|
||||
|
||||
@@ -3,7 +3,8 @@ use ark_ec::{
|
||||
pairing::{MillerLoopOutput, Pairing, PairingOutput},
|
||||
};
|
||||
use ark_ff::{
|
||||
biginteger::BigInteger832, BigInt, BitIteratorBE, CyclotomicMultSubgroup, Field, One,
|
||||
biginteger::BigInteger832, AdditiveGroup, BigInt, BitIteratorBE, CyclotomicMultSubgroup, Field,
|
||||
One,
|
||||
};
|
||||
use itertools::Itertools;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use ark_ff::{
|
||||
fields::fp3::{Fp3, Fp3Config},
|
||||
Field, MontFp,
|
||||
AdditiveGroup, Field, MontFp,
|
||||
};
|
||||
|
||||
use crate::Fq;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use ark_ff::{
|
||||
fields::fp6_2over3::{Fp6, Fp6Config},
|
||||
Field, MontFp,
|
||||
AdditiveGroup, Field, MontFp,
|
||||
};
|
||||
|
||||
use crate::{Fq, Fq3, Fq3Config};
|
||||
|
||||
Reference in New Issue
Block a user