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

Unify VDAF dispatching logic #750

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Unify VDAF dispatching logic #750

merged 1 commit into from
Dec 20, 2024

Conversation

cjpatton
Copy link
Contributor

@cjpatton cjpatton commented Dec 20, 2024

Partially addresses #698.
Stacked on #749.

Add dispatchers for sharding, preparation, and unsharding to VdafConfig. Pass the DAP version to the dispatcher so that we can properly resolve supported VDAFs.

Remove support for the following, unspecified combinations:

  • DAP-13/Pine32HmacSha256Aes128
  • DAP-13/Pine64HmacSha256Aes128
  • DAP-09/Mastic

Technically, since Mastic is still a shim at the moment and not a functional VDAF, we could support it in DAP-09 as well. When the implementation is complete (divviup/libprio-rs#947), it will only be VDAF-13-compatible and thus only supported in DAP-13.

Copy link
Collaborator

@mendess mendess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice change

@cjpatton cjpatton force-pushed the cjpatton/698-vdaf-dispatch branch from d290a79 to 4d3dd54 Compare December 20, 2024 15:21
Base automatically changed from cjpatton/698-vdaf-dispatch to main December 20, 2024 15:49
Add dispatchers for sharding, preparation, and unsharding to
`VdafConfig`. Pass the DAP version to the dispatcher so that we can
properly resolve supported VDAFs.

Remove support for the following, unspecified combinations:

* DAP-13/Pine32HmacSha256Aes128
* DAP-13/Pine64HmacSha256Aes128
* DAP-09/Mastic

Technically, since Mastic is still a shim at the moment and not a
functional VDAF, we could support it in DAP-09 as well. When the
implementation is complete
(divviup/libprio-rs#947), it will only be
VDAF-13-compatible and thus only supported in DAP-13.
@cjpatton cjpatton force-pushed the cjpatton/698-2-dispatcher branch from 658902e to ba7d9b3 Compare December 20, 2024 15:50
@cjpatton
Copy link
Contributor Author

Rebased.

@cjpatton cjpatton merged commit 5ac2daf into main Dec 20, 2024
3 checks passed
@cjpatton cjpatton deleted the cjpatton/698-2-dispatcher branch December 20, 2024 16:03
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