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
@@ -1,5 +1,4 @@
|
||||
use ark_algebra_bench_templates::*;
|
||||
|
||||
use ark_bls12_381::{
|
||||
fq::Fq, fq2::Fq2, fr::Fr, Bls12_381, Fq12, G1Projective as G1, G2Projective as G2,
|
||||
};
|
||||
|
||||
@@ -4,9 +4,9 @@ use ark_ec::{
|
||||
hashing::curve_maps::wb::{IsogenyMap, WBConfig},
|
||||
models::CurveConfig,
|
||||
short_weierstrass::{Affine, SWCurveConfig},
|
||||
AffineRepr, Group,
|
||||
AffineRepr, PrimeGroup,
|
||||
};
|
||||
use ark_ff::{Field, MontFp, PrimeField, Zero};
|
||||
use ark_ff::{AdditiveGroup, MontFp, PrimeField, Zero};
|
||||
use ark_serialize::{Compress, SerializationError};
|
||||
use ark_std::{ops::Neg, One};
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@ use ark_ec::{
|
||||
hashing::curve_maps::wb::{IsogenyMap, WBConfig},
|
||||
models::CurveConfig,
|
||||
short_weierstrass::{Affine, Projective, SWCurveConfig},
|
||||
AffineRepr, CurveGroup, Group,
|
||||
AffineRepr, CurveGroup, PrimeGroup,
|
||||
};
|
||||
use ark_ff::{Field, MontFp, Zero};
|
||||
use ark_ff::{AdditiveGroup, Field, MontFp, Zero};
|
||||
use ark_serialize::{Compress, SerializationError};
|
||||
|
||||
use super::{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use ark_algebra_test_templates::*;
|
||||
use ark_ec::{AffineRepr, CurveGroup, Group};
|
||||
use ark_ec::{AffineRepr, CurveGroup, PrimeGroup};
|
||||
use ark_ff::{fields::Field, One, UniformRand, Zero};
|
||||
use ark_serialize::{CanonicalDeserialize, CanonicalSerialize, Compress, Validate};
|
||||
use ark_std::{rand::Rng, test_rng, vec};
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
use ark_algebra_test_templates::*;
|
||||
use ark_ec::AdditiveGroup;
|
||||
use ark_ff::{
|
||||
biginteger::{BigInt, BigInteger, BigInteger384},
|
||||
fields::{FftField, Field, Fp12Config, Fp2Config, Fp6Config, PrimeField},
|
||||
|
||||
Reference in New Issue
Block a user