-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* first commit * first draft, save work * first working commit, passes all tests. Save work * save work * save work * fixed padding, now all test pass * refactor * more refactor * added precomputed values for 160 security level * fix typos * fix clippy and wasm * add std feature when needed * save work, refactor and solved some comments * save work * move Mds enum and removed commented code * remove unnecessary match * removed commented code --------- Co-authored-by: Diego K <43053772+diegokingston@users.noreply.github.com>
- Loading branch information
1 parent
8dfddac
commit d35c96f
Showing
6 changed files
with
1,876 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ pub mod hash_to_field; | |
pub mod monolith; | ||
pub mod pedersen; | ||
pub mod poseidon; | ||
pub mod rescue_prime; | ||
pub mod sha3; |
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,11 @@ | ||
mod parameters; | ||
mod rescue_prime_optimized; | ||
mod utils; | ||
|
||
pub use rescue_prime_optimized::MdsMethod; | ||
pub use rescue_prime_optimized::RescuePrimeOptimized; | ||
|
||
use lambdaworks_math::field::element::FieldElement; | ||
use lambdaworks_math::field::fields::u64_goldilocks_field::Goldilocks64Field; | ||
|
||
pub type Fp = FieldElement<Goldilocks64Field>; |
Oops, something went wrong.