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
@@ -10,7 +10,7 @@ use ark_ec::{
|
||||
},
|
||||
CurveConfig,
|
||||
};
|
||||
use ark_ff::{Field, MontFp, PrimeField, Zero};
|
||||
use ark_ff::{AdditiveGroup, Field, MontFp, PrimeField, Zero};
|
||||
use ark_std::{ops::Neg, One};
|
||||
|
||||
use super::g1_swu_iso::{SwuIsoConfig, ISOGENY_MAP_TO_G1};
|
||||
|
||||
@@ -4,10 +4,10 @@ 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_std::ops::Neg;
|
||||
|
||||
use crate::*;
|
||||
|
||||
Reference in New Issue
Block a user