@ -1,11 +0,0 @@ |
|||||
use crate::groups::curves::twisted_edwards::AffineGadget;
|
|
||||
use algebra::edwards_bls12::*;
|
|
||||
|
|
||||
use crate::edwards_bls12::FqGadget;
|
|
||||
|
|
||||
pub type EdwardsBlsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
|
||||
|
|
||||
#[test]
|
|
||||
fn test() {
|
|
||||
crate::groups::curves::twisted_edwards::test::<_, EdwardsParameters, EdwardsBlsGadget>();
|
|
||||
}
|
|
@ -0,0 +1,11 @@ |
|||||
|
use crate::groups::curves::twisted_edwards::AffineGadget;
|
||||
|
use algebra::edwards_on_bls12_377::*;
|
||||
|
|
||||
|
use crate::edwards_on_bls12_377::FqGadget;
|
||||
|
|
||||
|
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
||||
|
|
||||
|
#[test]
|
||||
|
fn test() {
|
||||
|
crate::groups::curves::twisted_edwards::test::<_, EdwardsParameters, EdwardsGadget>();
|
||||
|
}
|
@ -1,5 +1,5 @@ |
|||||
use crate::fields::fp::FpGadget;
|
use crate::fields::fp::FpGadget;
|
||||
use algebra::edwards_sw6::fq::Fq;
|
|
||||
|
use algebra::edwards_on_bls12_377::fq::Fq;
|
||||
|
|
||||
pub type FqGadget = FpGadget<Fq>;
|
pub type FqGadget = FpGadget<Fq>;
|
||||
|
|
@ -0,0 +1,11 @@ |
|||||
|
use crate::groups::curves::twisted_edwards::AffineGadget;
|
||||
|
use algebra::edwards_on_bls12_381::*;
|
||||
|
|
||||
|
use crate::edwards_on_bls12_381::FqGadget;
|
||||
|
|
||||
|
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
||||
|
|
||||
|
#[test]
|
||||
|
fn test() {
|
||||
|
crate::groups::curves::twisted_edwards::test::<Fq, _, EdwardsGadget>();
|
||||
|
}
|
@ -0,0 +1,8 @@ |
|||||
|
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>();
|
||||
|
}
|
@ -0,0 +1,11 @@ |
|||||
|
use crate::groups::curves::twisted_edwards::AffineGadget;
|
||||
|
use algebra::edwards_on_cp6_782::*;
|
||||
|
|
||||
|
use crate::edwards_on_cp6_782::FqGadget;
|
||||
|
|
||||
|
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
||||
|
|
||||
|
#[test]
|
||||
|
fn test() {
|
||||
|
crate::groups::curves::twisted_edwards::test::<_, EdwardsParameters, EdwardsGadget>();
|
||||
|
}
|
@ -1,5 +1,5 @@ |
|||||
use crate::fields::fp::FpGadget;
|
use crate::fields::fp::FpGadget;
|
||||
use algebra::edwards_bls12::fq::Fq;
|
|
||||
|
use algebra::edwards_on_cp6_782::fq::Fq;
|
||||
|
|
||||
pub type FqGadget = FpGadget<Fq>;
|
pub type FqGadget = FpGadget<Fq>;
|
||||
|
|
@ -1,11 +0,0 @@ |
|||||
use crate::groups::curves::twisted_edwards::AffineGadget;
|
|
||||
use algebra::edwards_sw6::*;
|
|
||||
|
|
||||
use crate::edwards_sw6::FqGadget;
|
|
||||
|
|
||||
pub type EdwardsSWGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
|
||||
|
|
||||
#[test]
|
|
||||
fn test() {
|
|
||||
crate::groups::curves::twisted_edwards::test::<_, EdwardsParameters, EdwardsSWGadget>();
|
|
||||
}
|
|
@ -1,11 +0,0 @@ |
|||||
use crate::groups::curves::twisted_edwards::AffineGadget;
|
|
||||
use algebra::jubjub::*;
|
|
||||
|
|
||||
use crate::jubjub::FqGadget;
|
|
||||
|
|
||||
pub type JubJubGadget = AffineGadget<JubJubParameters, Fq, FqGadget>;
|
|
||||
|
|
||||
#[test]
|
|
||||
fn test() {
|
|
||||
crate::groups::curves::twisted_edwards::test::<Fq, _, JubJubGadget>();
|
|
||||
}
|
|
@ -1,8 +0,0 @@ |
|||||
use crate::fields::fp::FpGadget;
|
|
||||
|
|
||||
pub type FqGadget = FpGadget<algebra::jubjub::Fq>;
|
|
||||
|
|
||||
#[test]
|
|
||||
fn test() {
|
|
||||
crate::fields::tests::field_test::<_, algebra::jubjub::Fq, FqGadget>();
|
|
||||
}
|
|