-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
67 additions
and
71 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
use ark_ec::short_weierstrass::SWCurveConfig; | ||
use arkworks::te_sw_map; | ||
use utils::te_sw_map; | ||
|
||
use super::*; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
//! Features expected to land into Arkworks at some point in the future | ||
|
||
/// Elligator 2 hash-to-curve. | ||
pub(crate) mod elligator2; | ||
/// Twisted Edwards to Short Weierstrass mapping. | ||
pub(crate) mod te_sw_map; | ||
// Common utilities | ||
pub(crate) mod common; | ||
|
||
pub(crate) use common::*; | ||
|
||
pub use te_sw_map::{sw_to_te, te_to_sw, SWMapping}; | ||
|
||
#[macro_export] | ||
macro_rules! suite_types { | ||
($suite:ident) => { | ||
#[allow(dead_code)] | ||
pub type Secret = $crate::Secret<$suite>; | ||
#[allow(dead_code)] | ||
pub type Public = $crate::Public<$suite>; | ||
#[allow(dead_code)] | ||
pub type Input = $crate::Input<$suite>; | ||
#[allow(dead_code)] | ||
pub type Output = $crate::Output<$suite>; | ||
#[allow(dead_code)] | ||
pub type AffinePoint = $crate::AffinePoint<$suite>; | ||
#[allow(dead_code)] | ||
pub type ScalarField = $crate::ScalarField<$suite>; | ||
#[allow(dead_code)] | ||
pub type BaseField = $crate::BaseField<$suite>; | ||
#[allow(dead_code)] | ||
pub type IetfProof = $crate::ietf::Proof<$suite>; | ||
#[allow(dead_code)] | ||
pub type PedersenProof = $crate::pedersen::Proof<$suite>; | ||
#[cfg(feature = "ring")] | ||
#[allow(dead_code)] | ||
pub type RingProof = $crate::ring::Proof<$suite>; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters