mirror of https://github.com/zcash/halo2.git
Type aliases for the tweedle groups
This commit is contained in:
parent
3407d13e4b
commit
71111e88b7
|
@ -6,5 +6,8 @@ mod macros;
|
|||
mod curves;
|
||||
mod fields;
|
||||
|
||||
pub mod dee;
|
||||
pub mod dum;
|
||||
|
||||
pub use curves::*;
|
||||
pub use fields::*;
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
//! The Tweedledee elliptic curve group.
|
||||
|
||||
/// A Tweedledee point in the projective coordinate space.
|
||||
pub type Point = super::Eq;
|
||||
|
||||
/// A Tweedledee point in the affine coordinate space (or the point at infinity).
|
||||
pub type Affine = super::EqAffine;
|
||||
|
||||
/// The base field of the Tweedledee group.
|
||||
pub type Base = super::Fq;
|
||||
|
||||
/// The scalar field of the Tweedledee group.
|
||||
pub type Scalar = super::Fp;
|
|
@ -0,0 +1,13 @@
|
|||
//! The Tweedledum elliptic curve group.
|
||||
|
||||
/// A Tweedledum point in the projective coordinate space.
|
||||
pub type Point = super::Ep;
|
||||
|
||||
/// A Tweedledum point in the affine coordinate space (or the point at infinity).
|
||||
pub type Affine = super::EpAffine;
|
||||
|
||||
/// The base field of the Tweedledum group.
|
||||
pub type Base = super::Fp;
|
||||
|
||||
/// The scalar field of the Tweedledum group.
|
||||
pub type Scalar = super::Fq;
|
Loading…
Reference in New Issue