-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Src/Moving Hash type to crate::utils
- Loading branch information
Showing
8 changed files
with
19 additions
and
27 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 |
---|---|---|
|
@@ -15,8 +15,6 @@ mod round; | |
|
||
pub mod setup; | ||
|
||
mod types; | ||
|
||
mod wrapper; | ||
|
||
// Re-exports | ||
|
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 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
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 |
---|---|---|
|
@@ -9,8 +9,6 @@ pub mod setup; | |
|
||
pub mod proof; | ||
|
||
mod types; | ||
|
||
mod algorithm; | ||
|
||
mod wrapper; | ||
|
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,3 +1,10 @@ | ||
pub(crate) const DATA_LENGTH: usize = 32; | ||
|
||
/// Type of dataset's elements to lower bound | ||
pub(crate) type Element = [u8; DATA_LENGTH]; | ||
|
||
/// Digest size for internal hashes | ||
pub(crate) const DIGEST_SIZE: usize = 32; | ||
|
||
/// Hash type for internal hashes | ||
pub(crate) type Hash = [u8; DIGEST_SIZE]; |