@ -0,0 +1,11 @@ |
|||||
|
use crate::groups::curves::twisted_edwards::AffineGadget;
|
||||
|
use algebra::ed_on_mnt4_298::*;
|
||||
|
|
||||
|
use crate::instantiated::ed_on_mnt4_298::fields::FqGadget;
|
||||
|
|
||||
|
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
||||
|
|
||||
|
#[test]
|
||||
|
fn test() {
|
||||
|
crate::groups::curves::twisted_edwards::test::<_, EdwardsParameters, EdwardsGadget>();
|
||||
|
}
|
@ -0,0 +1,9 @@ |
|||||
|
use crate::fields::fp::FpGadget;
|
||||
|
use algebra::ed_on_mnt4_298::fq::Fq;
|
||||
|
|
||||
|
pub type FqGadget = FpGadget<Fq>;
|
||||
|
|
||||
|
#[test]
|
||||
|
fn test() {
|
||||
|
crate::fields::tests::field_test::<_, Fq, FqGadget>();
|
||||
|
}
|
@ -0,0 +1,5 @@ |
|||||
|
mod curves;
|
||||
|
mod fields;
|
||||
|
|
||||
|
pub use curves::*;
|
||||
|
pub use fields::*;
|
@ -0,0 +1,11 @@ |
|||||
|
use crate::groups::curves::twisted_edwards::AffineGadget;
|
||||
|
use algebra::ed_on_mnt4_753::*;
|
||||
|
|
||||
|
use crate::instantiated::ed_on_mnt4_753::fields::FqGadget;
|
||||
|
|
||||
|
pub type EdwardsGadget = AffineGadget<EdwardsParameters, Fq, FqGadget>;
|
||||
|
|
||||
|
#[test]
|
||||
|
fn test() {
|
||||
|
crate::groups::curves::twisted_edwards::test::<_, EdwardsParameters, EdwardsGadget>();
|
||||
|
}
|
@ -0,0 +1,9 @@ |
|||||
|
use crate::fields::fp::FpGadget;
|
||||
|
use algebra::ed_on_mnt4_753::fq::Fq;
|
||||
|
|
||||
|
pub type FqGadget = FpGadget<Fq>;
|
||||
|
|
||||
|
#[test]
|
||||
|
fn test() {
|
||||
|
crate::fields::tests::field_test::<_, Fq, FqGadget>();
|
||||
|
}
|
@ -0,0 +1,5 @@ |
|||||
|
mod curves;
|
||||
|
mod fields;
|
||||
|
|
||||
|
pub use curves::*;
|
||||
|
pub use fields::*;
|