-
Notifications
You must be signed in to change notification settings - Fork 490
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make stateproof verifier snark friendly (#3895)
* change coin filps to be shake(sumhash(seed)) * add sequence of coin positions to the cert * compute CC security using implied provenWeight * create a log2 appr func * fix stateproof message issues. * remove proven weight form the coin hash * fix cc test * use reject sampling in coin hash. * use logarithmic approximation * refactoring * builder uses same appox function * comments and doc * handle negative value in number of reveals equation * add lnProvenWe to coinhash * fixed hash representation for coinhash * fix CC benchmark * refactor * remove old numberofreveals code * change secKQ to 256 * fix CRs * CR fixes + rename * more CR fix * refactor the trusted params on the verifer. * more refactoring * fix flaky test * remove Param structure * more fixes * update falcon lib + use byte as salt version * add coinhash kat generator * fix some CR comments * clear out some documentation * Apply suggestions from code review Co-authored-by: Shant Karakashian <55754073+algonautshant@users.noreply.github.com> * fix comments * refactor rejection sampling * CR fix * refactoring * fix comments * reduce the bytes allocated for stateproof message * Apply suggestions from code review Co-authored-by: Shant Karakashian <55754073+algonautshant@users.noreply.github.com> * fix test since stateproof message hash was reduce * fix CR comments * more refactoring Co-authored-by: Shant Karakashian <55754073+algonautshant@users.noreply.github.com>
- Loading branch information
1 parent
4009697
commit 8a53a76
Showing
33 changed files
with
1,525 additions
and
1,354 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.