This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 854
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[word lo/hi] pi circuit replace rand/rlc by keccak hash (#1345)
### Description replace rand/rlc by pure keccak hashing ### Issue Link - #1344 - #1383 ### Type of change - [x] Breaking change (fix or feature that would cause existing functionality to not work as expected) ### Contents - replace rpi rand/rlc logic by pure hashing - simplify public input into just 2 fields: digest[0:16] as `hi`, and digest[16:32] as `lo`, while `digest = Keccak(<public data>)` - adopt word-lo-hi nitpick - prefix table column annotation with table name for better debugging ### Rationale [_design decisions and extended information_] ### How Has This Been Tested? [_explanation_]
- Loading branch information
Showing
15 changed files
with
1,441 additions
and
937 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
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,6 @@ | ||
#!/bin/sh | ||
set -e | ||
set -o xtrace | ||
|
||
ARG_DEFAULT_SUDO= | ||
ARG_DEFAULT_STEPS="setup gendata tests cleanup" | ||
|
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
Oops, something went wrong.