@ -1,7 +1,7 @@ |
|||||
use crate::groups::curves::twisted_edwards::AffineGadget;
|
use crate::groups::curves::twisted_edwards::AffineGadget;
|
||||
use algebra::edwards_on_cp6_782::*;
|
|
||||
|
use algebra::ed_on_bls12_377::*;
|
||||
|
|
||||
use crate::edwards_on_cp6_782::FqGadget;
|
|
||||
|
use crate::ed_on_bls12_377::FqGadget;
|
||||
|
|
||||
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
||||
|
|
@ -1,5 +1,5 @@ |
|||||
use crate::fields::fp::FpGadget;
|
use crate::fields::fp::FpGadget;
|
||||
use algebra::edwards_on_cp6_782::fq::Fq;
|
|
||||
|
use algebra::ed_on_bls12_377::fq::Fq;
|
||||
|
|
||||
pub type FqGadget = FpGadget<Fq>;
|
pub type FqGadget = FpGadget<Fq>;
|
||||
|
|
@ -1,7 +1,7 @@ |
|||||
use crate::groups::curves::twisted_edwards::AffineGadget;
|
use crate::groups::curves::twisted_edwards::AffineGadget;
|
||||
use algebra::edwards_on_bls12_381::*;
|
|
||||
|
use algebra::ed_on_bls12_381::*;
|
||||
|
|
||||
use crate::edwards_on_bls12_381::FqGadget;
|
|
||||
|
use crate::ed_on_bls12_381::FqGadget;
|
||||
|
|
||||
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
||||
|
|
@ -0,0 +1,8 @@ |
|||||
|
use crate::fields::fp::FpGadget;
|
||||
|
|
||||
|
pub type FqGadget = FpGadget<algebra::ed_on_bls12_381::Fq>;
|
||||
|
|
||||
|
#[test]
|
||||
|
fn test() {
|
||||
|
crate::fields::tests::field_test::<_, algebra::ed_on_bls12_381::Fq, FqGadget>();
|
||||
|
}
|
@ -1,7 +1,7 @@ |
|||||
use crate::groups::curves::twisted_edwards::AffineGadget;
|
use crate::groups::curves::twisted_edwards::AffineGadget;
|
||||
use algebra::edwards_on_bls12_377::*;
|
|
||||
|
use algebra::ed_on_cp6_782::*;
|
||||
|
|
||||
use crate::edwards_on_bls12_377::FqGadget;
|
|
||||
|
use crate::ed_on_cp6_782::FqGadget;
|
||||
|
|
||||
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
||||
|
|
@ -1,5 +1,5 @@ |
|||||
use crate::fields::fp::FpGadget;
|
use crate::fields::fp::FpGadget;
|
||||
use algebra::edwards_on_cp6_782::fq::Fq;
|
|
||||
|
use algebra::ed_on_cp6_782::fq::Fq;
|
||||
|
|
||||
pub type FqGadget = FpGadget<Fq>;
|
pub type FqGadget = FpGadget<Fq>;
|
||||
|
|
@ -0,0 +1 @@ |
|||||
|
pub use crate::instantiated::ed_on_cp6_782::*;
|
@ -1,7 +1,7 @@ |
|||||
use crate::groups::curves::twisted_edwards::AffineGadget;
|
use crate::groups::curves::twisted_edwards::AffineGadget;
|
||||
use algebra::edwards_on_cp6_782::*;
|
|
||||
|
use algebra::ed_on_cp6_782::*;
|
||||
|
|
||||
use crate::instantiated::edwards_on_cp6_782::FqGadget;
|
|
||||
|
use crate::instantiated::ed_on_cp6_782::FqGadget;
|
||||
|
|
||||
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
||||
|
|
@ -1,5 +1,5 @@ |
|||||
use crate::fields::fp::FpGadget;
|
use crate::fields::fp::FpGadget;
|
||||
use algebra::edwards_on_bls12_377::fq::Fq;
|
|
||||
|
use algebra::ed_on_cp6_782::fq::Fq;
|
||||
|
|
||||
pub type FqGadget = FpGadget<Fq>;
|
pub type FqGadget = FpGadget<Fq>;
|
||||
|
|
@ -1,8 +0,0 @@ |
|||||
use crate::fields::fp::FpGadget;
|
|
||||
|
|
||||
pub type FqGadget = FpGadget<algebra::edwards_on_bls12_381::Fq>;
|
|
||||
|
|
||||
#[test]
|
|
||||
fn test() {
|
|
||||
crate::fields::tests::field_test::<_, algebra::edwards_on_bls12_381::Fq, FqGadget>();
|
|
||||
}
|
|
@ -1 +0,0 @@ |
|||||
pub use crate::instantiated::edwards_on_cp6_782::*;
|
|