Skip to content
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

More Mastic clean up #1200

Merged
merged 5 commits into from
Jan 16, 2025
Merged

More Mastic clean up #1200

merged 5 commits into from
Jan 16, 2025

Conversation

cjpatton
Copy link
Collaborator

@cjpatton cjpatton commented Jan 13, 2025

Stacked on #1198.

Miscellaneous, somewhat opinionated clean up after completing Mastic.

  • xof: Have seed_stream() take an array
  • mastic: Define constants for nonce and seed sizes
  • mastic: Remove bits field from Mastic struct
  • Move szk module from flp to vdaf::mastic
  • mastic: Update draft reference

@cjpatton cjpatton changed the title Clean up after Mastic More Mastic clean up Jan 13, 2025
@cjpatton cjpatton force-pushed the cjpatton/947-15-cleanup branch from 1810f3a to 20bc920 Compare January 13, 2025 21:10
@cjpatton cjpatton marked this pull request as ready for review January 13, 2025 21:18
@cjpatton cjpatton requested a review from a team as a code owner January 13, 2025 21:18
@cjpatton cjpatton changed the base branch from cjpatton/947-14-truncated-weights to cjpatton/947-13-pseudorandom-eval January 15, 2025 19:13
@cjpatton cjpatton force-pushed the cjpatton/947-15-cleanup branch from 222d77b to 9645bba Compare January 15, 2025 19:21
@cjpatton
Copy link
Collaborator Author

Rebased on #1198 after closing #1199.

@cjpatton cjpatton force-pushed the cjpatton/947-13-pseudorandom-eval branch from 1c217a0 to bbb9e04 Compare January 16, 2025 18:57
@cjpatton cjpatton force-pushed the cjpatton/947-15-cleanup branch from 9645bba to 3e92925 Compare January 16, 2025 19:02
@cjpatton
Copy link
Collaborator Author

Rebased on #1198.

@cjpatton cjpatton force-pushed the cjpatton/947-13-pseudorandom-eval branch from bbb9e04 to 4dbb408 Compare January 16, 2025 21:15
Base automatically changed from cjpatton/947-13-pseudorandom-eval to main January 16, 2025 21:22
This is redundant since `Vidpf` now needs to know the bit length.
Some of the implementation details of SZK are, for the moment, specific
to Mastic. For example, the domain separation tag for each XOF
invocation is prefixed by `b"mastic"`. It therefore makes sense to move
this module to `mastic` until such time we need to refactor in order to
use SZK in multiple places.
@cjpatton cjpatton force-pushed the cjpatton/947-15-cleanup branch from 3e92925 to 386d288 Compare January 16, 2025 21:23
@cjpatton cjpatton merged commit e91490a into main Jan 16, 2025
6 checks passed
@cjpatton cjpatton deleted the cjpatton/947-15-cleanup branch January 16, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants