forked from worldfnd/whir
-
Notifications
You must be signed in to change notification settings - Fork 0
zkWHIR 3.0 : Updated protocols for whir round integration and added mask proximity protocol (part 2) #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
zkWHIR 3.0 : Updated protocols for whir round integration and added mask proximity protocol (part 2) #3
Changes from 8 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
b29db22
feat : updated sumcheck according to construction 6.3 in paper
ocdbytes 77d7fa4
Merge branch 'aj/code-switch-protocol' into aj/zk-whir-3-2
ocdbytes 980bce0
Merge branch 'aj/code-switch-protocol' into aj/zk-whir-3-2
ocdbytes aa402c2
feat : updated sumcheck and code switch for integration in main whir …
ocdbytes 03e0818
feat : added mask proximity protocol
ocdbytes 0c811ab
refactor : cleanup and added few tests
ocdbytes fa27b13
tiny change
ocdbytes b5239bd
feat : added assert for interleaving depth == 1 in mask proximity pro…
ocdbytes e33f3d3
resolved comments
ocdbytes 9944f33
feat : added some tests in code switch
ocdbytes 8b4f75b
Merge branch 'aj/code-switch-protocol' into aj/zk-whir-3-2
ocdbytes 31e3776
merged code switch from parent
ocdbytes 09e7c6a
Merge branch 'aj/code-switch-protocol' into aj/zk-whir-3-2
ocdbytes f4e3069
Merge branch 'aj/code-switch-protocol' into aj/zk-whir-3-2
ocdbytes ec7aa32
Merge pull request #249 from ocdbytes/aj/code-switch-protocol
Bisht13 c57f8a9
feat : updated code switch protocol for parameter selection logic
ocdbytes 7af9775
feat : added support for interleaving depth > 1 for code switch
ocdbytes f857c42
fix : tests in runner
ocdbytes b8a60bf
Merge branch 'main' of https://github.com/WizardOfMenlo/whir into aj/…
ocdbytes 2765ba8
nits: comment and type
ocdbytes 8ec42d9
feat : comments resolved, added asserts, fixed test coverage
ocdbytes 84a4a19
added security comment for verifier
ocdbytes a1190bd
fix: rust nits
ocdbytes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,7 @@ | ||
| # Seeds for failure cases proptest has generated in the past. It is | ||
| # automatically read and these particular cases re-run before any | ||
| # novel cases are generated. | ||
| # | ||
| # It is recommended to check this file in to source control so that | ||
| # everyone who runs the test benefits from these saved cases. | ||
| cc 6a96626efcf88c8458e112fceda942463479dfd2637ca89ecaa4c89e49bf8f8e # shrinks to seed = 0, config = Config { c_zk: Config { embedding: Identity { field: FieldInfo { characteristic: [255, 255, 255, 255, 0, 0, 0, 1], extension_degree: 1 } }, num_vectors: 2, vector_size: 2, mask_length: 3, codeword_length: 4, interleaving_depth: 1, matrix_commit: Config { element_type: FieldInfo { characteristic: [255, 255, 255, 255, 0, 0, 0, 1], extension_degree: 1 }, num_cols: 2, leaf_hash_id: 03e01749ebcc0477924254eb482066b864a8dd4d77252464ca6f5b6f5cc05b4c, merkle_tree: Config { num_leaves: 4, layers: [LayerConfig { hash_id: 03e01749ebcc0477924254eb482066b864a8dd4d77252464ca6f5b6f5cc05b4c }, LayerConfig { hash_id: 03e01749ebcc0477924254eb482066b864a8dd4d77252464ca6f5b6f5cc05b4c }] } }, johnson_slack: 0.05590169943749475, in_domain_samples: 0, out_domain_samples: 1, deduplicate_in_domain: false }, num_masks: 1 } |
This file contains hidden or 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,7 @@ | ||
| # Seeds for failure cases proptest has generated in the past. It is | ||
| # automatically read and these particular cases re-run before any | ||
| # novel cases are generated. | ||
| # | ||
| # It is recommended to check this file in to source control so that | ||
| # everyone who runs the test benefits from these saved cases. | ||
| cc 3a705bcc9147c4da8cf518feed3a83ca5031e1ccc09c3b20ba272427ee701cd2 # shrinks to seed = 0, config = Config { field: FieldInfo { characteristic: [255, 255, 255, 255, 0, 0, 0, 1], extension_degree: 1 }, initial_size: 2, round_pow: Config { hash_id: 03e01749ebcc0477924254eb482066b864a8dd4d77252464ca6f5b6f5cc05b4c, threshold: 18446744073709551615 }, num_rounds: 1, mask_length: 9, mask_config: Some(Config { embedding: Identity { field: FieldInfo { characteristic: [255, 255, 255, 255, 0, 0, 0, 1], extension_degree: 1 } }, num_vectors: 1, vector_size: 9, mask_length: 0, codeword_length: 18, interleaving_depth: 1, matrix_commit: Config { element_type: FieldInfo { characteristic: [255, 255, 255, 255, 0, 0, 0, 1], extension_degree: 1 }, num_cols: 1, leaf_hash_id: 03e01749ebcc0477924254eb482066b864a8dd4d77252464ca6f5b6f5cc05b4c, merkle_tree: Config { num_leaves: 18, layers: [LayerConfig { hash_id: 03e01749ebcc0477924254eb482066b864a8dd4d77252464ca6f5b6f5cc05b4c }, LayerConfig { hash_id: 03e01749ebcc0477924254eb482066b864a8dd4d77252464ca6f5b6f5cc05b4c }, LayerConfig { hash_id: 03e01749ebcc0477924254eb482066b864a8dd4d77252464ca6f5b6f5cc05b4c }, LayerConfig { hash_id: 03e01749ebcc0477924254eb482066b864a8dd4d77252464ca6f5b6f5cc05b4c }, LayerConfig { hash_id: 03e01749ebcc0477924254eb482066b864a8dd4d77252464ca6f5b6f5cc05b4c }] } }, johnson_slack: 0.035355339059327376, in_domain_samples: 75, out_domain_samples: 1, deduplicate_in_domain: false }) } |
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both are { evaluation_points: Vec, linear_form_evaluation: F }. Collapse to a single Opening (or similar).